Game editing method, device and electronic device
By allowing players to independently design operation controls and associate them with scene components in virtual vehicles, the problem that operation controls in existing game editors cannot meet personalized needs, improving game experience and player editing freedom.
Patent Information
- Application Number
- CN202311680077.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-08
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2043-12-08
AI Technical Summary
In existing game editors, the operation controls are provided by the system, which are difficult to meet the personalized needs of players, resulting in poor player gaming experience.
Provides a game editing method that allows players to independently design operational controls and associate them with scene components in virtual vehicles to control the game behavior of target scene components.
It improves players' gaming experience and personalized editing needs, and enhances the playability and interactivity of the game by independently designing the relationship between operation controls and scene components.
Smart Images

Figure CN117899493B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of game interaction, and in particular, to a game editing method, device and electronic device. Background Art
[0002] In a game editor, a player can splice components provided in the game into a rideable virtual vehicle, and then use a motion function to implement functions such as opening and closing the door, moving forward and backward of the virtual vehicle. During the game running stage, the player can control the movement of the virtual vehicle through operation controls set by the system. Since the operation controls are provided by the system, the ways and contents of operating the virtual vehicle by the player are limited, which is difficult to meet the personalized needs of the player and results in a poor game experience for the player. Summary of the Invention
[0003] The purpose of the present invention is to provide a game editing method, device and electronic device, so that a player can independently design the control function of an operation control to be generated, and associate the operation control with a target scene component in a virtual vehicle, so as to control the game behavior of the target scene component through the operation control, thereby helping to improve the player's game experience.
[0004] In a first aspect, the present invention provides a game editing method. The game includes a game editing stage and a game running stage. The method includes: in the game editing stage, providing a first graphical user interface through a terminal device, and displaying at least part of a game editing scene in the first graphical user interface, where the game editing scene includes a virtual vehicle; in response to a first editing operation, determining an operation control to be generated and at least one scene component associated with the virtual vehicle based on the first editing operation, where the operation control to be generated is used to generate a corresponding target operation control when the virtual vehicle is running, and the scene component is configured with game behavior parameters for indicating the scene component to execute a specific game behavior; in response to a second editing operation, determining a target scene component from at least one scene component associated with the virtual vehicle, and establishing an association relationship between the operation control to be generated and the target scene component; in the game running stage, providing a second graphical user interface through the terminal device, and displaying at least part of a game running scene and the target operation control corresponding to the operation control to be generated in the second graphical user interface, where the game running scene includes a virtual vehicle; in response to a trigger operation on the target operation control, controlling the target scene component according to the association relationship between the operation control to be generated and the target scene component, so that the target scene component executes a specific game behavior in the game running scene.
[0005] In a second aspect, the present invention provides a game editing device. The game includes a game editing stage and a game running stage. The device includes: a first interface display module, configured to provide a first graphical user interface through a terminal device during the game editing stage, and display at least a part of the game editing scene in the first graphical user interface, wherein the game editing scene includes a virtual vehicle; a first editing module, configured to, in response to a first editing operation, determine an operation control to be generated and at least one scene component associated with the virtual vehicle based on the first editing operation, wherein the operation control to be generated is configured to generate a corresponding target operation control when the virtual vehicle is running, and the scene component is configured with game behavior parameters for indicating the scene component to perform a specific game behavior; a second editing module, configured to, in response to a second editing operation, determine a target scene component from at least one scene component associated with the virtual vehicle, and establish an association relationship between the operation control to be generated and the target scene component; a second interface display module, configured to provide a second graphical user interface through the terminal device during the game running stage, and display at least a part of the game running scene and the target operation control corresponding to the operation control to be generated in the second graphical user interface, wherein the game running scene includes a virtual vehicle; a control trigger module, configured to, in response to a trigger operation on the target operation control, control the target scene component according to the association relationship between the operation control to be generated and the target scene component, so that the target scene component performs a specific game behavior in the game running scene.
[0006] In a third aspect, the present invention provides an electronic device, which includes a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above game editing method.
[0007] In a fourth aspect, the present invention provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the above game editing method.
[0008] The embodiments of the present invention bring the following beneficial effects:
[0009] A game editing method, device, and electronic device provided by the present invention. During the game editing stage, a first graphical user interface is provided through a terminal device, and at least part of the game editing scene is displayed in the first graphical user interface. The game editing scene includes a virtual vehicle; in response to a first editing operation, an operation control to be generated and at least one scene component associated with the virtual vehicle are determined based on the first editing operation. The operation control to be generated is used to generate a corresponding target operation control when the virtual vehicle is running. The scene component is configured with game behavior parameters, and the game behavior parameters are used to instruct the scene component to perform specific game behaviors; in response to a second editing operation, a target scene component is determined from at least one scene component associated with the virtual vehicle, and an association relationship is established between the operation control to be generated and the target scene component; during the game running stage, a second graphical user interface is provided through the terminal device, and at least part of the game running scene and the target operation control corresponding to the operation control to be generated are displayed in the second graphical user interface. The game running scene includes a virtual vehicle; in response to a trigger operation for the target operation control, the target scene component is controlled to perform specific game behaviors in the game running scene. In this way, players can independently design the control function of the operation control to be generated and associate the operation control with the target scene component in the virtual vehicle, so as to control the game behavior of the target scene component through the operation control, which helps to improve the player's game experience and the player's personalized editing needs.
[0010] Other features and advantages of the present invention will be described in the following specification, or, some features and advantages can be inferred from the specification or determined without doubt, or can be known by implementing the above technologies of the present invention.
[0011] To make the above objects, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given in conjunction with the accompanying drawings and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0013] Figure 1 It is a flowchart of a game editing method provided by an embodiment of the present invention;
[0014] Figure 2 It is a schematic diagram of control arrangement provided by an embodiment of the present invention;
[0015] Figure 3A schematic diagram of a control editing option provided by an embodiment of the present invention;
[0016] Figure 4 A schematic diagram of setting an operation permission provided by an embodiment of the present invention;
[0017] Figure 5 A schematic diagram of the structure of a game editing device provided by an embodiment of the present invention;
[0018] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. Components of the embodiments of the present invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
[0020] Therefore, the detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed present invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.
[0021] The embodiments of the present invention provide a game editing method, device, and electronic device. This technology can be applied to the editing scenario of operation controls or the editing scenario of virtual vehicles in a game editing scenario.
[0022] In one embodiment of the present disclosure, the game editing method can run on a local terminal device or a server. When the game editing method runs on the server, the method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and a client device.
[0023] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game editing method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the player side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0024] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0025] In a possible implementation, the embodiment of the present invention provides a game editing method, wherein the game includes a game editing phase and a game running phase. Figure 1 As shown, the method comprises the following specific steps:
[0026] Step S102, during the game editing stage, a first graphical user interface is provided through a terminal device, and at least a portion of a game editing scene is displayed in the first graphical user interface, wherein the game editing scene includes a virtual vehicle.
[0027] The above-mentioned terminal device can be the local terminal device mentioned above, or the client device in the cloud interaction system mentioned above. Specifically, the terminal device can be a mobile phone, a computer, a tablet computer, etc. The game editing scenario provided in the above game editing stage is the scenario provided by running the game program, and can also be understood as the scenario provided by the game editor. In the game editing scenario, players can edit the scenario components according to their needs, and can also edit the operation controls associated with some scenario components. In practical applications, when a player triggers a game editing instruction, the game editing scenario can be displayed in the first graphical user interface, and the game editing instruction can be determined according to the game rules. For example, the editing instruction can be an operation to enter the game editor; it can also be an operation to select a certain scenario map for editing, etc.
[0028] The above game editing scenario includes a virtual vehicle, which is generated by physically constraining and connecting multiple scenario components together. In a specific embodiment, players can use the component editing function already provided in the game to assemble the appearances of multiple scenario components into the appearance shape of a virtual vehicle, that is, by moving the positions of the scenario components, the scenario components to be assembled into the virtual vehicle can be pre-assembled into a shape with the appearance of a vehicle, so as to generate a virtual vehicle with the appearance of the vehicle subsequently; when players splice multiple scenario components into a certain vehicle appearance according to their own needs, players can trigger the vehicle generation instruction to generate a virtual vehicle based on multiple scenario components with a certain vehicle appearance.
[0029] Step S104, in response to the first editing operation, determine the operation control to be generated and at least one scenario component associated with the virtual vehicle based on the first editing operation, where the operation control to be generated is used to generate a corresponding target operation control when the virtual vehicle is running, and the scenario component is configured with game behavior parameters, and the game behavior parameters are used to instruct the scenario component to perform specific game behaviors.
[0030] In specific implementation, the specific operation corresponding to the above first editing operation can be determined according to R & D requirements and player operations. For example, the first editing operation can be that the player selects the virtual vehicle, then triggers the setting control in the graphical user interface, displays an editing window in the graphical user interface, and then performs a selection operation on the operation control to be edited corresponding to the virtual vehicle or a selection operation on the scenario components in the game editing scenario in the editing window. The first editing operation can also be that the player triggers the setting control to display an editing window in the graphical user interface, the editing window includes multiple editable parameters, and the player can edit in the editing window, and determine the operation control to be generated and at least one scenario component associated with the virtual vehicle based on the edited parameters.
[0031] In specific implementation, the player can add a new operation control as the operation control to be generated through a first editing operation, or select an operation control from the historical operation controls as the operation control to be generated. When the virtual vehicle is running, the above-mentioned operation control to be generated will generate a corresponding operation control and display it in the graphical user interface for the player to operate.
[0032] The above-mentioned scene components associated with the virtual vehicle include one or more. Generally, the scene components associated with the virtual vehicle can be the scene components assembled on the virtual vehicle or the scene components that make up the virtual vehicle, etc. Each scene component associated with the virtual vehicle is configured with game behavior parameters, and the game behavior parameters are used to instruct the scene component to perform specific game behaviors. Specifically, the game behaviors specified by each scene component can be determined according to R & D requirements or player settings. For example, the player can configure the game behavior of the scene component by editing the game behavior parameters.
[0033] In a specific embodiment, at least one of the above-mentioned scene components associated with the virtual vehicle includes: a vehicle-mounted component pre-assembled with the virtual vehicle. The vehicle-mounted component is located at a preset position on the virtual vehicle, and the vehicle-mounted component maintains a constant relative position relationship with the virtual vehicle during the process of following the virtual vehicle. The preset position of the vehicle-mounted component on the virtual vehicle is determined according to the placement position of the vehicle-mounted component by the player when the virtual vehicle is generated. The vehicle-mounted component will follow the virtual vehicle, and the position of the vehicle-mounted component in the virtual vehicle will not change. The specific components included in the above-mentioned vehicle-mounted component can be determined according to R & D requirements and player operations. For example, the vehicle-mounted component can be a tire component, a thruster component, or a cannon component, etc.
[0034] Step S106, in response to a second editing operation, determine a target scene component from at least one scene component associated with the virtual vehicle, and establish an association relationship between the operation control to be generated and the target scene component.
[0035] The specific operation corresponding to the above-mentioned second editing operation can be determined according to R & D operations and will not be specifically limited here. The player can select a scene component from the scene components associated with the virtual vehicle as the target scene component through the second editing operation, so as to establish an association relationship between the operation control to be generated and the target scene component, so that during the game running stage, the target operation control corresponding to the operation control to be generated can control the target scene component to perform specific game behaviors.
[0036] Step S108, during the game running stage, provide a second graphical user interface through the terminal device, and display at least part of the game running scene and the target operation control corresponding to the operation control to be generated in the second graphical user interface, where the game running scene includes the virtual vehicle.
[0037] In specific implementation, a player can enter the game running stage by triggering a game running instruction. This game running stage is usually a scene where the player experiences the game content generated by the game editing scene. The component functions of the scene components included in the game running scene provided in this game running stage are determined by the component parameters edited in the game editing scene. Specifically, the terminal device can present the game running scene in response to the game running instruction. This game running instruction can be a trigger instruction for the trial play control displayed in the graphical user interface, or an instruction to directly enter the game running scene generated by the game editing scene, etc.
[0038] The above-mentioned second graphical user interface includes a game running scene and a target operation control generated based on the control parameters of the operation control to be generated edited in the game editing scene. The game running scene includes a virtual vehicle and may also include virtual objects. The virtual objects can ride on the virtual vehicle.
[0039] Step S110: In response to the trigger operation on the target operation control, control the target scene component according to the association relationship between the operation control to be generated and the target scene component, so that the target scene component performs specific game behaviors in the game running scene.
[0040] The above-mentioned trigger operation on the target operation control can be a click operation, a long press operation, a swipe operation, etc. on the target operation control. The specific operation method can be determined according to the R & D requirements. When the player triggers the target operation control, the target scene component associated with the target operation object will perform specific game behaviors in the game running scene. That is to say, the target operation control can control the target scene component related to it.
[0041] The game editing method provided by the embodiments of the present invention enables the player to independently design the control function of the operation control to be generated and associate the operation control with the target scene component in the virtual vehicle, so as to control the game behavior of the target scene component through the operation control, which helps to improve the player's game experience and the player's personalized editing requirements.
[0042] The following preferred embodiments are used to describe the way of editing the game behavior of the scene components.
[0043] Specifically, the specific game behavior performed by the above-mentioned target scene component in the game running scene is determined in the following way: in response to the game behavior parameter setting operation, determine the target behavior parameters based on the game behavior parameter setting operation, and determine the target behavior parameters as the game behavior parameters configured for the target scene component, so that the target scene component generates specific game behaviors based on the target behavior parameters.
[0044] In specific implementation, the specific operations corresponding to the above game behavior parameter setting operations can be determined according to R & D requirements or player operations. Specifically, different target scene components may include different game behavior parameters, and players can customize the game behavior parameters corresponding to the target scene components according to their needs, so that the target scene components can generate specific game behaviors according to the game behavior parameters edited by themselves.
[0045] In a specific embodiment, the above target behavior parameters at least include: the acting force magnitude, the maximum moving speed, and the mass of the target scene component; the game behaviors corresponding to the target scene component include: providing an acting force in a preset direction based on the target behavior parameters; when the target scene component is assembled at a preset position of the virtual vehicle, the target scene component provides an acting force in a preset direction to the virtual vehicle through physical transmission, and the preset direction is determined by the preset position of the target scene component on the component of the virtual vehicle.
[0046] The acting force magnitude in the above target behavior parameters is used to indicate the intensity of the acting force that the target scene component can exert on the virtual vehicle when performing specific game behaviors; the above maximum moving speed is used to indicate the maximum speed that the target scene component can reach when performing specific game behaviors, and the target scene component will no longer accelerate after reaching the maximum speed; the above mass is used to indicate the own mass of the target scene component, and the magnitude of this mass is related to the magnitude of the acceleration of the target scene component. When the target scene component performs specific game behaviors, the target scene component can provide an acting force in a preset direction based on the target behavior parameters.
[0047] In practical applications, at least one target scene component can be assembled on the virtual vehicle. The connection method between the target scene component and the virtual vehicle is usually different from the connection methods of other components in the virtual vehicle. Other components are usually welded to the virtual vehicle, that is, they have an overall physical simulation with the virtual vehicle, while the target scene component is connected to the virtual vehicle by hanging, and its physical simulation with the virtual vehicle is not an integral whole. When the target scene component is assembled at a preset position of the virtual vehicle, the target scene component provides an acting force in a preset direction to the virtual vehicle through physical transmission, and the preset direction is determined by the preset position of the target scene component on the component of the virtual vehicle. For example, if the target scene component is installed at the tail of the virtual vehicle, the target scene component can provide a forward thrust for the virtual vehicle; if the target scene component is installed on the right side of the virtual vehicle, the target scene component can provide a leftward thrust for the virtual vehicle. It can also be understood that the target scene component does not directly affect the moving speed of the virtual vehicle, but will exert a force on the virtual vehicle in a certain direction, resulting in the virtual vehicle flying up, or reversing, etc.
[0048] In another optional embodiment, the target scene component can continuously apply force to the center of mass of the chassis of the virtual vehicle, and the direction of the force is the rotation vector of the target scene component itself; but the applied force can only make its own speed not exceed the set maximum moving speed.
[0049] Based on the above description, in response to the target scene component performing a specific game behavior in the game running scene, the virtual vehicle is controlled to move in a preset direction, and the movement speed of the virtual vehicle in the preset direction is determined by the force provided by the target scene component. Specifically, when the target scene component performs a specific game behavior in the game running scene, the target scene component can apply a force in a preset direction to the virtual component to make the virtual vehicle move in the preset direction, and the movement speed and movement distance of the virtual vehicle in the preset direction are determined by the action size and action time provided by the target scene component.
[0050] In the above method, by editing the game behavior parameters of the target scene components, players can assemble and design virtual vehicles with nitrogen acceleration, jet launch and other capabilities with a lower threshold, thereby increasing the potential gameplay that virtual vehicles can create.
[0051] The following preferred embodiments are used to describe the editing method of the operation control and the establishment method of the relationship between the operation control and the scene component.
[0052] Specifically, the above-mentioned specific process of determining the operation control to be generated based on the first editing operation in response to the first editing operation includes: in response to the first editing operation, displaying an editing window in the first graphical user interface, the editing window including at least one operation control to be edited, and determining at least one operation control to be edited as the operation control to be generated; in response to a triggering operation for a target operation control to be edited among the operation controls to be edited, displaying control editing options corresponding to the target operation control to be edited in the editing window, wherein the control editing options are used to configure control parameters of the target operation control to be edited.
[0053] In a specific implementation, one or more operation controls to be edited may be displayed in the editing window, and the number of operation controls to be edited displayed in the editing window may be determined according to research and development requirements. In a specific embodiment, at least one operation control to be edited displayed in the editing window includes: an operation control to be edited that has been historically added and / or a newly added operation control to be edited. That is, the editing window may only display the operation controls to be edited that have been historically added, or may only display the newly added operation controls to be edited, or may display both the operation controls to be edited that have been historically added and the newly added operation controls to be edited. Based on this, the player can add an operation control to be edited in the editing window according to the adding operation, and the adding operation may be a triggering operation for adding controls in the editing window, or may be a copy-paste operation after copying the operation controls to be edited that have been historically added, etc.
[0054] In an optional embodiment, the above editing window further includes a first control; in response to a triggering operation on the first control, at least one control arrangement scheme is displayed in the first graphical user interface, and the control arrangement scheme is used to determine the display position and display size of the target operation control corresponding to the operation control to be generated when it is displayed in the second graphical user interface.
[0055] The above control arrangement scheme is used to display the arrangement mode of the target operation controls corresponding to multiple operation controls to be edited in the second graphical user interface. Since the control serial number corresponding to each operation control to be edited is also displayed in the control arrangement scheme, and the control serial number matches the control identifier of the operation control to be edited displayed in the editing window, therefore, the player can clearly understand the display position corresponding to the operation control to be edited currently through the control arrangement scheme.
[0056] In a specific implementation, the above control arrangement scheme can be displayed in a control arrangement schematic diagram, such as Figure 2 shown is a control arrangement schematic diagram provided by an embodiment of the present invention, Figure 2 which gives two control arrangement schemes corresponding to the operation controls of the controls, Figure 2 The left image in is the arrangement mode corresponding to four operation controls to be edited with control serial numbers 1, 2, 3, and 4 when the movement control of the virtual vehicle is in the joystick mode, and the movement control of the rightmost control in this image; Figure 2 The right image in is the arrangement mode corresponding to four operation controls to be edited with control serial numbers 1, 2, 3, and 4 when the movement control of the virtual vehicle is in the button mode, and the controls corresponding to the up, down, left, and right arrows in this image respectively control the virtual vehicle to move in the up, down, left, and right four directions.
[0057] In an optional embodiment, the operation controls included in the virtual vehicle are a specified number, and the number of operation controls to be edited is not greater than the specified number. Specifically, the specific number corresponding to the above specified number can be determined according to R & D requirements. For example, the specified number can be 5 or 8, etc. The maximum value of the number of the above operation controls to be edited is usually the number of operation controls to be edited with control serial numbers in the control arrangement scheme.
[0058] In a specific implementation, when the player triggers the target operation control to be edited in the editing window, control editing options corresponding to the target operation control to be operated are displayed in the editing window, and the control editing options are used to configure the control parameters of the target operation control to be operated. What specific parameters the control parameters include can be determined according to R & D requirements. For example, the control parameters can include but are not limited to: display parameters, control trigger effects, and control trigger methods, etc. The above target operation control to be edited can be any one of the operation controls to be edited displayed in the editing window.
[0059] In an alternative embodiment, in response to a selection operation for a target control layout scheme among at least one control layout scheme, determine that the target control layout scheme is the control layout scheme for the target operation control when displayed; in response to a control position adjustment operation for the target operation control to be edited in the editing window, control to adjust the display position of the target operation control corresponding to the target operation control to be edited in the target control layout scheme from a first layout position to a second layout position; wherein, the second layout position is determined based on the display order of the target operation control to be edited among at least one operation control to be edited.
[0060] In a specific implementation, the above-mentioned target control layout scheme can be any one of at least one displayed control layout scheme, and the above-mentioned position adjustment operation can be an upward position movement operation or a downward displacement operation, etc. For example, when the player performs an upward position movement operation, swap the display position of the target operation control to be edited in the target control layout scheme with the display position of the previous operation control to be edited in the target control layout scheme in the editing window. Specifically, the display order of the above-mentioned target operation control to be edited among at least one operation control to be edited matches the display control serial number in the target control layout scheme.
[0061] In another alternative embodiment, in response to an upward movement operation for the first operation control to be edited in the editing window, swap the control parameters of the first operation control to be edited with the control parameters of the operation control corresponding to the previous operation control to be edited in the editing window. The above-mentioned upward movement operation can be an operation by the player to trigger the upward movement control corresponding to the first operation control to be edited, or an operation of dragging the first operation control to be edited upward, etc. The above-mentioned first operation control to be edited can be any operation control to be edited in the editing window except the operation control to be edited with the first display position. For example, the control parameter of the operation control to be edited 2 is configured as the handbrake, the control parameter of the operation control to be edited 1 is configured as nitrous oxide. After the operation control to be edited 2 is moved upward, the original control position of the operation control to be edited 1 will become the handbrake, and the control position of the operation control to be edited 2 will become nitrous oxide.
[0062] In a specific embodiment, in response to a third editing operation, display parameters corresponding to an operation component to be generated are determined based on the third editing operation; wherein, the display parameters are used to: indicate a display style of a target operation control corresponding to the operation control to be generated during the operation of the virtual vehicle; the display parameters include: a first parameter for determining the control name of the target operation control, and a second parameter for determining the control icon style of the target operation control. In a specific implementation, the above-mentioned third editing operation may be an editing operation on the first parameter and the second parameter in the control editing option, or a setting operation on the display parameters in a certain setting panel, and the set display parameters are applied to the operation of the target operation control.
[0063] In practical applications, the above-mentioned control name cannot be set arbitrarily and needs to meet certain naming rules, which can be determined according to R & D requirements. For example, the control name can be edited and does not exceed 6 Chinese character lengths; the control can also use the default name, and the default naming can be button {0}, where the number in {0} identifies the control serial number of the control in the control layout schematic diagram. The above-mentioned control icon style can be selected from a preset list, and multiple preset icon styles are displayed in the preset list. Players can select according to their needs or customize the icon style. During the game operation stage, the control name and the control icon style of the target operation control will both be displayed in the graphical user interface, that is, the target operation control is characterized by the control name and the control icon style. Specifically, in the graphical user interface, the control name can be displayed below or under the control icon style to characterize the target operation control. Of course, the control name can also be displayed at other positions of the control icon style.
[0064] Further, the specific process of determining at least one scene component associated with the virtual vehicle based on the first editing operation in response to the first editing operation may include: in response to the first editing operation, determining a first scene component from multiple scene components in the game editing scene based on the first component identifier, and determining the first scene component as the scene component associated with the virtual vehicle; wherein, the first component identifier is the component identifier corresponding to the scene component associated with the virtual vehicle, and the first component identifier is used to indicate the association relationship between the first scene component and the virtual vehicle.
[0065] In a specific implementation, a first component identifier is set for each scene object associated with the virtual vehicle. When the player performs the first editing operation, the system can obtain the first scene component with the first component identifier from multiple scene components in the game editing scene, and determine the first scene component as the scene component associated with the virtual vehicle. The specific identifier corresponding to the above-mentioned first component identifier can be determined according to R & D requirements, and the first component identifier can be a string of characters or a special symbol, etc.
[0066] Furthermore, the control editing options displayed in the above editing window include scene component selection options. The specific process of determining a target scene component from at least one scene component associated with the virtual vehicle in response to a second editing operation and establishing an association relationship between the operation control to be generated and the target scene component may include: responding to a trigger operation for the scene component selection option, and displaying a scene component list corresponding to at least one scene component associated with the virtual vehicle in the editing window; responding to a selection operation for the scene component list, determining the scene component selected by the selection operation as the target scene component, and establishing an association relationship between the target operation control to be operated and the target scene component.
[0067] In a specific implementation, when a player triggers the scene component selection option, a scene component list can be displayed in the editing window. The scene component list includes the component names of the scene components associated with the virtual vehicle. The player selects a scene component by clicking on the target component name in the scene component list, that is, determines the scene component corresponding to the target component name as the selected scene component, and determines the selected scene component as the target scene component, so as to establish an association relationship between the target operation control to be operated and the target scene component.
[0068] In an alternative embodiment, the control editing options may further include a trigger effect selection option, which is used to determine the game effect triggered by the target operation control; based on this, responding to a trigger operation for the trigger effect selection option, a trigger effect list is displayed in the editing window; wherein, the trigger effect list includes multiple preset effects; responding to a selection operation for the target preset effect in the trigger effect list, determining the target preset effect as the trigger effect corresponding to the target operation control to be operated, so that when the target operation control is triggered during the game running stage, a target preset effect is generated in the game running scene.
[0069] In a specific implementation, the preset effects included in the trigger effect list can be determined according to the R & D requirements. The preset effect is also the effect triggered after the player interacts with the target operation control corresponding to the target operation control to be operated. The trigger effect corresponding to the target operation control supports the player to select from the trigger effect list.
[0070] In a specific embodiment, the multiple preset effects included in the above trigger effect list at least include: controlling the virtual vehicle to emit a specified audio, controlling the virtual vehicle to stop moving, controlling the target scene group to work, and triggering a specified event. Among them, the specified audio can be determined according to R & D requirements. For example, the specified audio can be a horn sound or a preset music, etc.; controlling the virtual vehicle to stop moving means triggering the handbrake or brake of the virtual vehicle after triggering the target operation control, so that the driving wheels of the virtual vehicle are immediately braked. In specific implementation, there are various drifting methods for a normal rear-wheel drive four-wheeled virtual vehicle, but essentially, they all turn when the rear wheels lose traction, so that the rear wheels have a lateral transverse shift, resulting in a drifting performance. By implementing the handbrake function, when a player creates a rear-wheel drive four-wheeled virtual vehicle, holding the handbrake can brake the rear wheels, and at this time, turning can achieve a performance similar to drifting and tail sliding.
[0071] The above control for the target scene component to work can be understood as the activation of the target scene component. After the target scene component is activated, it can simulate the virtual vehicle releasing the target game skill, and the target scene component stops working when the skill release ends. Specifically, the above target scene component releasing the target game skill can also be understood as the target scene component performing a specific game behavior. The above triggering of the specified event means the specified event that can be triggered after triggering the target operation control, and this specified event can be edited through an event editor or determined according to the event content input by the player.
[0072] In an alternative embodiment, when the trigger effect is to control the target scene component to work, the control editing option further includes a trigger method selection option, which is used to determine the control parameters of the target operation control corresponding to the target operation control to be edited; based on this, in response to the trigger operation for the trigger method selection option, a trigger method list is displayed in the editing window; among them, the trigger method list includes multiple preset trigger methods; in response to the selection operation for the target trigger method in the trigger method list, the target trigger method is determined as the trigger method corresponding to the target operation control to be edited, so that in the game running stage, the target operation control is triggered through this target trigger method.
[0073] In specific implementation, the multiple preset trigger methods displayed in the above trigger method list can be determined according to R & D requirements, and no specific limitation is made here. The above target trigger method can be any one of the trigger methods in the trigger method list. In a specific embodiment, the above target trigger method is at least used to indicate: the interaction method for triggering the target operation control, the number of times the target operation control can be triggered, and the limited trigger duration after each triggering of the target operation control.
[0074] Specifically, the interaction method triggered by the above-mentioned target operation control determines the release method of the target game skill released by the target scene component. The release method can be determined from the following methods: release by clicking the target operation control, release by releasing the target operation control, and release by holding the target operation control. Among them, releasing by holding the target operation control needs to be able to activate the corresponding target scene component during the press to release the target game skill, and stop the target scene component from working when released, so as to end the release of the target game skill. The number of times the above-mentioned target operation control can be triggered is used to determine the maximum number of uses of the target game skill released when the target scene component works (the minimum value that can be set for this maximum number of uses is 1). If the current number of uses of the target game skill is zero and the energy recharge type of the target game skill is invalid, the target operation control will be hidden. The limited trigger duration after each trigger of the target operation control is used to indicate the duration of the target game skill released each time when the target scene component works. The length of this duration is related to the release method of the target game skill. For example, if the release method is release by releasing, the skill duration refers to the duration from the start of the release of the target game skill to the end of the release; if the release method is release by clicking, the skill duration refers to the duration from the start of the release of the target game skill to the end of the release; if the release method is continuous release by pressing until release, then within a single skill, how long the skill continuously releases before it is considered to have consumed this skill.
[0075] In an alternative embodiment, the above-mentioned target trigger method further includes the skill cooldown time after the target game skill released once when the target scene component works. This skill cooldown time defines the CD time of the target game skill (the CD time generally refers to the cooldown time of the skill), and the editable time range for players can be determined according to R & D requirements. Further, the above-mentioned target trigger method can also include skill recharge parameters. These skill recharge parameters are used to determine whether the target game skill will be recharged, as well as the recharge type, recharge times, and recharge interval parameters of the target game skill. The recharge type can be none, continuous recharge, or recharge when the number of times reaches zero, etc. The recharge interval parameter is used to determine the recharge interval time of the target game skill. The recharge times include the number of times of non-rechargeable skills and the number of times of rechargeable skills. For example, if the target game skill can only be used 3 times, if the target game skill is non-rechargeable, the total number of times is 3 times. If the target game skill is rechargeable, the total number of times = the number of available uses * the number of recharge times. For example, if it is recharged 2 times and can be used 3 times each time after recharging, it is 6 times.
[0076] It should be noted that during the game operation stage, after generating a virtual vehicle in the game operation scene, the dynamic data such as the number of times the corresponding target operation control can be triggered, the cooling time of the target game skill that the target operation control can trigger, and the remaining duration have nothing to do with whether the virtual object on the virtual vehicle changes. For example, after virtual object A releases game skill 1 of the virtual vehicle, game skill 1 enters a 10-second cooling countdown. After virtual object A gets off the vehicle, virtual object B immediately gets on the vehicle, and game skill 1 is still in the cooling time. The virtual object can only release game skill 1 after the cooling time ends. When the virtual vehicle is reborn, the above data of the skills corresponding to each operation control should also be reset.
[0077] In practical applications, in the game operation scene, in response to the number of times the target operation control can be triggered being 0, the display of the target operation control in the second graphical user interface is cancelled.
[0078] In specific implementation, when the target scene component performs a specific game behavior in the game operation scene, including releasing the target game skill, during the game operation stage, in response to the target scene component performing a specific game behavior in the game operation scene, the remaining energy and skill cooling status of the target game skill corresponding to the target operation control are displayed in the graphical user interface; in response to the energy of the target game skill being zero, the display of the target operation control is hidden in the graphical user interface. Specifically, the remaining energy status can be displayed in the graphical user interface through an energy indicator, which is used to indicate the current remaining energy status of the target game skill. The skill cooling status is usually displayed on the target operation control and can be displayed in the form of a countdown or an energy bar, etc.
[0079] In an alternative embodiment, when the trigger effect is to control the triggering of a specified event, the above control editing options further include an event configuration option. Based on this, in response to a third editing operation on the event configuration option, the target trigger event and the event scene component associated with the target trigger event corresponding to the target operation control to be edited are configured based on the third editing operation, so as to broadcast the target trigger event when the target trigger event is triggered by the target operation control corresponding to the target operation control to be edited, so that the event scene component executes the pre-configured component behavior after listening to the target trigger event.
[0080] In specific implementation, the specific operations corresponding to the above-mentioned third editing operation can be determined according to R & D requirements. For example, the third editing operation can be a selection operation on a target trigger event in the displayed event list after triggering an event configuration option, or a selection operation on an event scene component in the game editing scene, and an operation of configuring the component behavior corresponding to the event scene component, etc. The above-mentioned event scene component can be any scene component in the game editing scene, and which specific scene component can be determined according to the player's operation, and the component behavior can also be determined according to the player's operation. For example, the event scene component can be a bridge in the game editing scene, and the component behavior can be that the bridge is blown up. Then, during the game running stage, after the player triggers the target operation control, the bridge in the game running scene will be blown up.
[0081] As Figure 3 shown is a schematic interface diagram of a control editing option provided by an embodiment of the present invention. Figure 3 The position corresponding to label 1 is used to set the button name (equivalent to the above-mentioned control name). Figure 3 Set the control name to "Rocket Propulsion", and the icon corresponding to label 2 is used to set the control icon of the operation control to be generated. Figure 3 The "Button Trigger Effect" in it is used to configure the trigger effect corresponding to the operation control to be generated. When the player clicks the arrow icon behind the "Button Trigger Effect", a trigger effect list will appear. Figure 3 Currently selected in it is to activate the vehicle component, which is equivalent to controlling the target scene component to release the target game skill. Figure 3 The components that can be activated in it include the scene components associated with the virtual vehicle in the scene component list, and the player can select any one of them as the target scene component. Figure 3 It also includes setting parameters for the release method of the target game skill (equivalent to the above-mentioned interaction method for triggering the target operation control), cooling time, number of uses (equivalent to the number of times the above-mentioned target operation control can be triggered), charging type, charging time, and duration (the restricted trigger duration after each trigger of the target operation control).
[0082] The above method can edit multiple reserved operation controls to be edited, and set the control trigger method, the effects that can be triggered after the control is triggered, etc. of the operation control to be edited, so as to meet the personalized editing needs of players.
[0083] The following preferred embodiments are used to describe the permission allocation method of the operation control to be generated.
[0084] Specifically, the above virtual vehicle includes at least one first component. In response to an operation permission setting operation for an operation control to be generated, the corresponding target first component is configured for the operation control to be generated based on the operation permission setting operation, so as to configure, for a virtual object using the target first component, the permission to control the target operation control corresponding to the operation control to be generated through the target first component.
[0085] In specific implementation, a player can edit the control mode of the virtual vehicle during operation, and the control mode can be a joystick mode or a button mode; in the two different control modes, it is possible to customize which player corresponding to the virtual object on which first component controls each operation control.
[0086] In an alternative embodiment, the above first component can be a seat component, and the virtual object can sit on the seat component. As Figure 4 shown is a schematic diagram of setting an operation permission provided by an embodiment of the present invention. Figure 4 What is shown therein is a setting panel for the control operation permission of the virtual vehicle. The control mode in this setting panel is used to set the control mode of the virtual vehicle during operation. Figure 4 The control mode therein is set to the joystick mode, and the operation controls to be generated corresponding to the joystick mode are displayed in the setting panel. Figure 4 The operation permission of the operation control for controlling the virtual vehicle to move left in the setting panel therein is assigned to seat 15 (equivalent to the above seat component), the operation permission of the operation control for controlling the virtual vehicle to move right is assigned to seat 15, and the operation permission of the operation control for controlling the virtual vehicle to move forward and backward is assigned to seat 16. Specifically, each seat included in the virtual vehicle corresponds to a unique name, that is, the above seat 15 is the name of a certain seat component in the virtual vehicle.
[0087] Further, in response to the target virtual object in the game operation scene being located on the target first component, obtain the pre-configured target operation permission corresponding to the target first component, and configure the target operation permission for the target virtual object; in response to the target virtual object being configured with the target operation permission, display the target operation control corresponding to the target operation permission in the terminal device corresponding to the target virtual object; in response to the target virtual object leaving the target first component, cancel the target operation permission configured for the target virtual object, and cancel the display of the target operation control corresponding to the target operation permission.
[0088] In an alternative embodiment, when multiple virtual objects are riding on different first components of a virtual vehicle, a behavior trigger instruction sent by a terminal device corresponding to each of the multiple virtual objects is received, and the running state of the virtual vehicle is controlled or a specific game behavior is controlled for a target scene component based on the behavior trigger instruction; wherein, the vehicle behavior trigger instruction is triggered by a trigger operation on an operation control on the terminal device corresponding to the multiple virtual objects. In a specific implementation, if the virtual vehicle has multiple first components, the virtual vehicle can carry multiple virtual objects. Through permission setting operations, different virtual objects can be controlled to operate the virtual vehicle according to their operation permissions respectively, so as to realize the ability for multiple virtual objects to ride in the same vehicle and jointly drive the virtual vehicle.
[0089] During the game running stage, in response to a game running instruction, at least part of the game running scene is displayed through a second graphical user interface. The game running scene includes a target virtual object and a virtual vehicle; in response to a movement control operation for the target virtual object, the target virtual object is controlled to move in the game running scene; in response to the target virtual object moving to the boarding area corresponding to the virtual vehicle, a boarding control is displayed in the second graphical user interface; in response to a trigger operation for the boarding control, the target virtual object is controlled to ride on the virtual vehicle, and a target operation control corresponding to the operation right item corresponding to the riding position of the target virtual object is displayed in the graphical user interface.
[0090] In a specific implementation, the above movement control operation can be a sliding operation for a movement control displayed in the graphical user interface, or a dragging operation for the virtual object, etc. The player can control the virtual object to move freely in the game running scene through the movement control operation. The boarding area corresponding to the virtual vehicle can be determined according to R & D requirements or player settings. For example, the boarding area can be an area within a preset range from the virtual vehicle, or an area calculated after expanding the entire bounding box of the virtual vehicle by a specified length in each of the six directions of +x axis, -x axis, +y axis, -y axis, +z axis, and -z axis, or a specified area near the set virtual vehicle. When the virtual object moves to the boarding area corresponding to the virtual vehicle, a boarding control will be displayed in the graphical user interface, and this boarding control is used to control the virtual object to ride on the virtual vehicle.
[0091] The above trigger operation for the boarding control can be a click operation, a long press operation, or a sliding operation for the boarding control, etc., which can be specifically set according to R & D requirements. When the player triggers the boarding control, the virtual object can ride on the virtual vehicle. Specifically, after the player clicks the boarding control, the virtual object will sit on the first component closest to the virtual object. At this time, an operation control corresponding to the operation permission of the first component on which the virtual object is riding will be displayed in the graphical user interface, so that the player can operate the virtual vehicle through the operation control.
[0092] In an alternative embodiment, in response to a virtual object moving to the boarding area corresponding to the virtual vehicle, a vehicle reset control is displayed in the graphical user interface; in response to a trigger operation on the vehicle reset control, the virtual vehicle in the tipped state is righted. Players can control the placement state of the target virtual vehicle through the vehicle reset control, thereby enhancing the gaming experience.
[0093] Corresponding to the above method embodiment, an embodiment of the present invention further provides a game editing device. The game includes a game editing stage and a game running stage. As Figure 5 shown, the device includes:
[0094] A first interface display module 50, configured to provide a first graphical user interface through a terminal device during the game editing stage, and display at least part of the game editing scene in the first graphical user interface, where the game editing scene includes a virtual vehicle.
[0095] A first editing module 51, configured to, in response to a first editing operation, determine an operation control to be generated and at least one scene component associated with the virtual vehicle based on the first editing operation, where the operation control to be generated is used to generate a corresponding target operation control during the operation of the virtual vehicle, and the scene component is configured with game behavior parameters, and the game behavior parameters are used to instruct the scene component to perform specific game behaviors.
[0096] A second editing module 52, configured to, in response to a second editing operation, determine a target scene component from at least one scene component associated with the virtual vehicle, and establish an association relationship between the operation control to be generated and the target scene component.
[0097] A second interface display module 53, configured to provide a second graphical user interface through a terminal device during the game running stage, and display at least part of the game running scene and the target operation control corresponding to the operation control to be generated in the second graphical user interface, where the game running scene includes a virtual vehicle.
[0098] A control trigger module 54, configured to, in response to a trigger operation on the target operation control, control the target scene component according to the association relationship between the operation control to be generated and the target scene component, so that the target scene component performs specific game behaviors in the game running scene.
[0099] In the above game editing device, in this way, players can independently design the control function of the operation control to be generated, and associate the operation control with the target scene component in the virtual vehicle, so as to control the game behavior of the target scene component through the operation control, which helps to improve the player's gaming experience and meet the player's personalized editing needs.
[0100] Specifically, at least one of the scene components associated with the virtual vehicle includes: a vehicle-mounted component pre-assembled with the virtual vehicle, the vehicle-mounted component being located at a preset position on the virtual vehicle, and the vehicle-mounted component maintaining an unchanged relative position relationship with the virtual vehicle during the process of moving with the virtual vehicle.
[0101] Further, the above device further includes a behavior parameter setting module, configured to: in response to a game behavior parameter setting operation, determine a target behavior parameter based on the game behavior parameter setting operation, and determine the target behavior parameter as the game behavior parameter configured for the target scene component, so that the target scene component generates a specific game behavior based on the target behavior parameter.
[0102] In specific implementation, the above target behavior parameter at least includes: the magnitude of the acting force of the target scene component, the maximum moving speed, and the mass; the game behavior corresponding to the target scene component includes: providing an acting force in a preset direction based on the target behavior parameter; when the target scene component is assembled at the preset position of the virtual vehicle, the target scene component provides an acting force in a preset direction to the virtual vehicle through physical transmission, and the preset direction is determined by the preset position of the target scene component on the components of the virtual vehicle.
[0103] Further, the above device further includes a behavior execution module, configured to: in response to the target scene component executing a specific game behavior in the game running scene, control the virtual vehicle to move in a preset direction, and the moving speed of the virtual vehicle in the preset direction is determined by the acting force provided by the target scene component.
[0104] In specific implementation, the above first editing module 51 is configured to: in response to a first editing operation, display an editing window in the first graphical user interface, the editing window including at least one control to be edited, and determine the at least one control to be edited as the control to be generated; in response to a triggering operation on a target control to be edited among the controls to be edited, display control editing options corresponding to the target control to be operated in the editing window, where the control editing options are used to configure the control parameters of the target control to be operated.
[0105] In an alternative embodiment, the above at least one control to be edited includes: a control to be edited added historically and / or a newly added control to be edited.
[0106] In specific implementation, the number of controls included in the above virtual vehicle is a specified number, and the number of controls to be edited is not greater than the specified number.
[0107] In an alternative embodiment, the first editing module 51 is further configured to: in response to a first editing operation, determine a first scene component from multiple scene components in the game editing scene based on a first component identifier, and determine the first scene component as the scene component associated with the virtual vehicle; wherein, the first component identifier is the component identifier corresponding to the scene component associated with the virtual vehicle, and the first component identifier is used to indicate the association relationship between the first scene component and the virtual vehicle.
[0108] Further, the control editing option includes a scene component selection option, and the second editing module 52 is configured to: in response to a trigger operation for the scene component selection option, display a scene component list corresponding to at least one scene component associated with the virtual vehicle in the editing window; in response to a selection operation for the scene component list, determine the scene component selected by the selection operation as the target scene component, and establish an association relationship between the target control to be edited and the target scene component.
[0109] In a specific implementation, the control editing option includes a trigger effect selection option, and the trigger effect selection option is used to determine the game effect triggered by the target operation control; the device further includes a trigger effect setting module, configured to: in response to a trigger operation for the trigger effect selection option, display a trigger effect list in the editing window; wherein, the trigger effect list includes multiple preset effects; in response to a selection operation for a target preset effect in the trigger effect list, determine the target preset effect as the trigger effect corresponding to the target operation control corresponding to the target control to be edited, so that when the target operation control is triggered during the game running stage, the target preset effect is generated in the game running scene.
[0110] Further, the multiple preset effects included in the trigger effect list at least include: controlling the virtual vehicle to emit a specified audio, controlling the virtual vehicle to stop moving, controlling the target scene component to work, and controlling the triggering of a specified event.
[0111] Further, when the trigger effect is to control the target scene component to work, the control editing option further includes a trigger mode selection option, and the trigger mode selection option is used to determine the control parameters of the target operation control corresponding to the target control to be edited; the device further includes a trigger mode setting module, configured to: in response to a trigger operation for the trigger mode selection option, display a trigger mode list in the editing window; wherein, the trigger mode list includes multiple preset trigger modes; in response to a selection operation for a target trigger mode in the trigger mode list, determine the target trigger mode as the trigger mode corresponding to the target control to be edited, so that during the game running stage, the target operation control is triggered by the target trigger mode.
[0112] In specific implementation, the above-mentioned target triggering method is at least used to indicate: the interaction method for triggering the target operation control, the number of times the target operation control can be triggered, and the limited triggering duration after each trigger of the target operation control.
[0113] Further, the above-mentioned device further includes an interface display change module, which is used for: in the game running scenario, in response to the number of times the target operation control can be triggered being 0, cancel the display of the target operation control in the second graphical user interface.
[0114] In an alternative embodiment, when the triggering effect is to control the triggering of a specified event, the control editing option further includes an event configuration option, and the above-mentioned device further includes an event triggering module, which is used for: in response to a third editing operation on the event configuration option, configure the target triggering event corresponding to the target operation control to be edited and the event scenario component associated with the target triggering event based on the third editing operation, so as to broadcast the target triggering event when the target triggering event is triggered by the target operation control corresponding to the target operation control to be edited, so that the event scenario component executes the pre-configured component behavior after listening to the target triggering event.
[0115] Further, the above-mentioned editing window further includes a first control; the above-mentioned device further includes a schematic diagram display module, which is used for: in response to a triggering operation on the first control, display at least one control arrangement scheme in the first graphical user interface, and the control arrangement scheme is used to determine the display position and display size of the target operation control corresponding to the operation control to be generated when it is displayed in the second graphical user interface.
[0116] In specific implementation, the above-mentioned device further includes a position swapping module, which is used for: in response to a selection operation on the target control arrangement scheme in at least one control arrangement scheme, determine the target control arrangement scheme as the control arrangement scheme for the target operation control when it is displayed; in response to a control position adjustment operation on the target operation control to be edited in the editing window, control to adjust the display position of the target operation control corresponding to the target operation control to be edited in the target control arrangement scheme from the first arrangement position to the second arrangement position; wherein, the second arrangement position is determined based on the display order of the target operation control to be edited among at least one operation control to be edited.
[0117] Further, the above-mentioned virtual vehicle includes at least one first component, and the above-mentioned device further includes a permission configuration module, which is used for: in response to an operation permission setting operation of the operation control to be generated, configure a corresponding target first component for the operation control to be generated based on the operation permission setting operation, so as to configure the permission for a virtual object using the target first component to control the target operation control corresponding to the operation control to be generated through the target first component.
[0118] Further, the display device further includes a permission granting module, configured to: in response to a target virtual object in a game running scenario being located on a target first component, obtain a pre-configured target operation permission corresponding to the target first component, and configure the target operation permission for the target virtual object; in response to the target virtual object being configured with the target operation permission, display a target operation control corresponding to the target operation permission in a terminal device corresponding to the target virtual object; in response to the target virtual object leaving the target first component, cancel the target operation permission configured for the target virtual object, and cancel the display of the target operation control corresponding to the target operation permission.
[0119] Further, the above-mentioned device further includes a control display module, configured to: in response to a game running instruction, display at least a part of the game running scenario through a second graphical user interface, where the game running scenario includes a target virtual object and a virtual vehicle; in response to a movement control operation for the target virtual object, control the target virtual object to move in the game running scenario; in response to the target virtual object moving to a boarding area corresponding to the virtual vehicle, display a boarding control in the second graphical user interface; in response to a triggering operation for the boarding control, control the target virtual object to ride on the virtual vehicle, and display a target operation control corresponding to an operation right item corresponding to the riding position of the target virtual object in the graphical user interface.
[0120] In a specific implementation, the above-mentioned device further includes a display parameter editing module, configured to: in response to a third editing operation, determine display parameters corresponding to an operation component to be generated based on the third editing operation; where the display parameters are used to: indicate a display style for displaying a target operation control corresponding to the operation control to be generated when the virtual vehicle is running; the display parameters include: a first parameter for determining the control name of the target operation control, and a second parameter for determining the control icon style of the target operation control.
[0121] The game editing device provided by the embodiments of the present invention has the same implementation principle and the same technical effects as those of the foregoing method embodiments. For a brief description, for parts not mentioned in the device embodiments, reference may be made to the corresponding content in the foregoing method embodiments.
[0122] Embodiments of the present invention further provide an electronic device, as Figure 6 shown, the electronic device includes a processor and a memory, the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned game editing method.
[0123] Specifically, the game includes a game editing stage and a game running stage. The above game editing method includes: in the game editing stage, providing a first graphical user interface through a terminal device, and displaying at least part of the game editing scene in the first graphical user interface, where the game editing scene includes a virtual vehicle; in response to a first editing operation, determining an operation control to be generated and at least one scene component associated with the virtual vehicle based on the first editing operation, where the operation control to be generated is used to generate a corresponding target operation control during the operation of the virtual vehicle, and the scene component is configured with game behavior parameters, and the game behavior parameters are used to instruct the scene component to perform specific game behaviors; in response to a second editing operation, determining a target scene component from at least one scene component associated with the virtual vehicle, and establishing an association relationship between the operation control to be generated and the target scene component; in the game running stage, providing a second graphical user interface through the terminal device, and displaying at least part of the game running scene and the target operation control corresponding to the operation control to be generated in the second graphical user interface, where the game running scene includes a virtual vehicle; in response to a trigger operation for the target operation control, controlling the target scene component according to the association relationship between the operation control to be generated and the target scene component, so that the target scene component performs specific game behaviors in the game running scene.
[0124] In the above game editing method, players can independently design the control function of the operation control to be generated, and associate the operation control with the target scene component in the virtual vehicle, so as to control the game behavior of the target scene component through the operation control, which helps to improve the player's game experience and the player's personalized editing needs.
[0125] In an alternative embodiment, the at least one scene component associated with the virtual vehicle includes: a vehicle-mounted component pre-assembled with the virtual vehicle, the vehicle-mounted component is located at a preset position on the virtual vehicle, and the vehicle-mounted component maintains an unchanged relative position relationship with the virtual vehicle during the process of moving with the virtual vehicle.
[0126] In an alternative embodiment, the specific game behavior performed by the target scene component in the game running scene is determined by the following method: in response to a game behavior parameter setting operation, determining target behavior parameters based on the game behavior parameter setting operation, and determining the target behavior parameters as the game behavior parameters configured for the target scene component, so that the target scene component generates specific game behaviors based on the target behavior parameters.
[0127] In an alternative embodiment, the above-mentioned target behavior parameters at least include: the acting force magnitude of the target scene component, the maximum moving speed, and the mass; the game behavior corresponding to the target scene component includes: providing an acting force in a preset direction based on the target behavior parameters; when the target scene component is assembled at a preset position of the virtual vehicle, the target scene component provides an acting force in a preset direction to the virtual vehicle through physical transmission, and the preset direction is determined by the preset position of the target scene component on the component of the virtual vehicle.
[0128] In an alternative embodiment, the above-mentioned method further includes: in response to the target scene component performing a specific game behavior in the game running scene, controlling the virtual vehicle to move in a preset direction, and the moving speed of the virtual vehicle in the preset direction is determined by the acting force provided by the target scene component.
[0129] In an alternative embodiment, the step of determining the operation control to be generated based on the first editing operation in response to the first editing operation includes: in response to the first editing operation, displaying an editing window in the first graphical user interface, where the editing window includes at least one operation control to be edited, and determining the at least one operation control to be edited as the operation control to be generated; in response to a triggering operation on a target operation control to be edited among the operation controls to be edited, displaying control editing options corresponding to the target operation control to be edited in the editing window, where the control editing options are used to configure the control parameters of the target operation control to be edited.
[0130] In an alternative embodiment, the above-mentioned at least one operation control to be edited includes: the operation control to be edited added historically and / or the operation control to be edited newly added.
[0131] In an alternative embodiment, the number of operation controls included in the above-mentioned virtual vehicle is a specified number, and the number of operation controls to be edited is not greater than the specified number.
[0132] In an alternative embodiment, the step of determining at least one scene component associated with the virtual vehicle based on the first editing operation in response to the first editing operation includes: in response to the first editing operation, determining a first scene component from multiple scene components in the game editing scene based on a first component identifier, and determining the first scene component as the scene component associated with the virtual vehicle; where the first component identifier is the component identifier corresponding to the scene component associated with the virtual vehicle, and the first component identifier is used to indicate the association relationship between the first scene component and the virtual vehicle.
[0133] In an alternative embodiment, the above control editing option includes a scene component selection option. The steps of determining a target scene component from at least one scene component associated with the virtual vehicle in response to a second editing operation and establishing an association relationship between the operation control to be generated and the target scene component include: in response to a trigger operation for the scene component selection option, displaying a scene component list corresponding to at least one scene component associated with the virtual vehicle in the editing window; in response to a selection operation for the scene component list, determining the scene component selected by the selection operation as the target scene component and establishing an association relationship between the target operation control to be edited and the target scene component.
[0134] In an alternative embodiment, the above control editing option includes a trigger effect selection option, and the trigger effect selection option is used to determine the game effect triggered by the target operation control; the method further includes: in response to a trigger operation for the trigger effect selection option, displaying a trigger effect list in the editing window; wherein, the trigger effect list includes multiple preset effects; in response to a selection operation for the target preset effect in the trigger effect list, determining the target preset effect as the trigger effect corresponding to the target operation control corresponding to the target operation control to be edited, so that when the target operation control is triggered during the game running stage, a target preset effect is generated in the game running scene.
[0135] In an alternative embodiment, the multiple preset effects included in the above trigger effect list at least include: controlling the virtual vehicle to emit a specified audio, controlling the virtual vehicle to stop moving, controlling the target scene component to work, and controlling the triggering of a specified event.
[0136] In an alternative embodiment, when the trigger effect is to control the target scene component to work, the control editing option further includes a trigger mode selection option, and the trigger mode selection option is used to determine the control parameters of the target operation control corresponding to the target operation control to be edited; the method further includes: in response to a trigger operation for the trigger mode selection option, displaying a trigger mode list in the editing window; wherein, the trigger mode list includes multiple preset trigger modes; in response to a selection operation for the target trigger mode in the trigger mode list, determining the target trigger mode as the trigger mode corresponding to the target operation control to be edited, so that during the game running stage, the target operation control is triggered by the target trigger mode.
[0137] In an alternative embodiment, the above target trigger mode is at least used to indicate: the interaction mode triggered by the target operation control, the number of times the target operation control can be triggered, and the limited trigger duration after each trigger of the target operation control.
[0138] In an alternative embodiment, the method further includes: in the game running scene, in response to the number of times the target operation control can be triggered being 0, canceling the display of the target operation control in the second graphical user interface.
[0139] In an alternative embodiment, when the trigger effect is to control the triggering of a specified event, the control editing option further includes an event configuration option, and the method further includes: in response to a third editing operation on the event configuration option, configuring a target trigger event corresponding to the target operation control to be edited and an event scenario component associated with the target trigger event based on the third editing operation, so as to broadcast the target trigger event when the target trigger event is triggered by the target operation control corresponding to the target operation control to be edited, so that the event scenario component executes a pre-configured component behavior after detecting the target trigger event.
[0140] In an alternative embodiment, the editing window further includes a first control; the method further includes: in response to a triggering operation on the first control, displaying at least one control layout scheme in the first graphical user interface, where the control layout scheme is used to determine the display position and display size of the target operation control corresponding to the operation control to be generated when it is displayed in the second graphical user interface.
[0141] In an alternative embodiment, the method further includes: in response to a selection operation on a target control layout scheme among at least one control layout scheme, determining the target control layout scheme as the control layout scheme for the target operation control when it is displayed; in response to a control position adjustment operation on the target operation control to be edited in the editing window, controlling to adjust the display position of the target operation control corresponding to the target operation control to be edited in the target control layout scheme from a first layout position to a second layout position; where the second layout position is determined based on the display order of the target operation control to be edited among at least one operation control to be edited.
[0142] In an alternative embodiment, the virtual vehicle includes at least one first component, and the method further includes: in response to an operation permission setting operation for the operation control to be generated, configuring a corresponding target first component for the operation control to be generated based on the operation permission setting operation, so as to configure the permission for a virtual object using the target first component to control the target operation control corresponding to the operation control to be generated through the target first component.
[0143] In an alternative embodiment, the method further includes: in response to a target virtual object in the game running scenario being located on the target first component, obtaining a pre-configured target operation permission corresponding to the target first component, and configuring the target operation permission for the target virtual object; in response to the target virtual object being configured with the target operation permission, displaying a target operation control corresponding to the target operation permission in the terminal device corresponding to the target virtual object; in response to the target virtual object leaving the target first component, canceling the target operation permission configured for the target virtual object and canceling the display of the target operation control corresponding to the target operation permission.
[0144] In an alternative embodiment, the above method further includes: in response to a game running instruction, displaying at least a part of the game running scene through a second graphical user interface, where the game running scene includes a target virtual object and a virtual vehicle; in response to a movement control operation for the target virtual object, controlling the target virtual object to move in the game running scene; in response to the target virtual object moving to the embarking area corresponding to the virtual vehicle, displaying an embark control in the second graphical user interface; in response to a triggering operation for the embark control, controlling the target virtual object to ride on the virtual vehicle, and displaying a target operation control corresponding to the operation right item corresponding to the riding position of the target virtual object in the graphical user interface.
[0145] In an alternative embodiment, the above method further includes: in response to a third editing operation, determining display parameters corresponding to an operation component to be generated based on the third editing operation; where the display parameters are used to: indicate a display style of a target operation control corresponding to the operation control to be generated when the virtual vehicle is running; the display parameters include: a first parameter for determining the control name of the target operation control, and a second parameter for determining the control icon style of the target operation control.
[0146] Further, Figure 6 The electronic device shown further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
[0147] Among them, the memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is implemented through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 102 may be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 6 only a single bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0148] The processor 101 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method may be completed by the integrated logic circuit of the hardware in the processor 101 or the instructions in the form of software. The above-mentioned processor 101 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention may be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and combines its hardware to complete the steps of the method in the foregoing embodiments.
[0149] Embodiments of the present invention also provide a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions cause the processor to implement the above game editing method.
[0150] Specifically, the game includes a game editing stage and a game running stage. The above game editing method includes: in the game editing stage, providing a first graphical user interface through a terminal device and displaying at least part of the game editing scene in the first graphical user interface, wherein the game editing scene includes a virtual vehicle; in response to a first editing operation, determining an operation control to be generated and at least one scene component associated with the virtual vehicle based on the first editing operation, wherein the operation control to be generated is used to generate a corresponding target operation control when the virtual vehicle is running, and the scene component is configured with game behavior parameters, and the game behavior parameters are used to instruct the scene component to perform specific game behaviors; in response to a second editing operation, determining a target scene component from at least one scene component associated with the virtual vehicle and establishing an association relationship between the operation control to be generated and the target scene component; in the game running stage, providing a second graphical user interface through the terminal device and displaying at least part of the game running scene and the target operation control corresponding to the operation control to be generated in the second graphical user interface, wherein the game running scene includes a virtual vehicle; in response to a trigger operation for the target operation control, controlling the target scene component according to the association relationship between the operation control to be generated and the target scene component, so that the target scene component performs specific game behaviors in the game running scene.
[0151] In the above game editing method, players can independently design the control function of the operation control to be generated and associate the operation control with the target scene component in the virtual vehicle, so as to control the game behavior of the target scene component through the operation control, improving the player's game experience and the player's personalized editing needs.
[0152] In an alternative embodiment, the at least one scene component associated with the virtual vehicle includes: a vehicle-mounted component pre-assembled with the virtual vehicle, the vehicle-mounted component is located at a preset position on the virtual vehicle, and the vehicle-mounted component maintains an unchanged relative position relationship with the virtual vehicle during the process of moving with the virtual vehicle.
[0153] In an alternative embodiment, the specific game behavior performed by the target scene component in the game running scene is determined by the following method: in response to a game behavior parameter setting operation, determining target behavior parameters based on the game behavior parameter setting operation, and determining the target behavior parameters as the game behavior parameters configured for the target scene component, so that the target scene component generates specific game behaviors based on the target behavior parameters.
[0154] In an alternative embodiment, the above target behavior parameters at least include: the acting force magnitude, the maximum moving speed, and the mass of the target scene component; the game behavior corresponding to the target scene component includes: providing an acting force in a preset direction based on the target behavior parameters; when the target scene component is assembled at a preset position of the virtual vehicle, the target scene component provides an acting force in a preset direction to the virtual vehicle through physical transmission, and the preset direction is determined by the preset position of the target scene component on the component of the virtual vehicle.
[0155] In an alternative embodiment, the above method further includes: in response to the target scene component performing a specific game behavior in the game running scene, controlling the virtual vehicle to move in a preset direction, and the moving speed of the virtual vehicle in the preset direction is determined by the acting force provided by the target scene component.
[0156] In an alternative embodiment, the step of determining the operation control to be generated based on the first edit operation in response to the first edit operation includes: in response to the first edit operation, displaying an edit window in the first graphical user interface, the edit window includes at least one operation control to be edited, and determining at least one operation control to be edited as the operation control to be generated; in response to a trigger operation on a target operation control to be edited among the operation controls to be edited, displaying control edit options corresponding to the target operation control to be edited in the edit window, where the control edit options are used to configure the control parameters of the target operation control to be edited.
[0157] In an alternative embodiment, the above at least one operation control to be edited includes: the operation control to be edited added historically and / or the operation control to be edited newly added.
[0158] In an alternative embodiment, the number of operation controls included in the above virtual vehicle is a specified number, and the number of operation controls to be edited is not greater than the specified number.
[0159] In an alternative embodiment, the step of determining at least one scene component associated with the virtual vehicle based on the first edit operation in response to the first edit operation includes: in response to the first edit operation, determining a first scene component from multiple scene components in the game editing scene based on the first component identifier, and determining the first scene component as the scene component associated with the virtual vehicle; where the first component identifier is the component identifier corresponding to the scene component associated with the virtual vehicle, and the first component identifier is used to indicate the association relationship between the first scene component and the virtual vehicle.
[0160] In an alternative embodiment, the above control editing option includes a scene component selection option. The steps of determining a target scene component from at least one scene component associated with the virtual vehicle and establishing an association relationship between the operation control to be generated and the target scene component in response to a second editing operation include: in response to a triggering operation for the scene component selection option, displaying a scene component list corresponding to at least one scene component associated with the virtual vehicle in an editing window; in response to a selection operation for the scene component list, determining the scene component selected by the selection operation as the target scene component, and establishing an association relationship between the target operation control to be edited and the target scene component.
[0161] In an alternative embodiment, the above control editing option includes a trigger effect selection option, and the trigger effect selection option is used to determine the game effect triggered by the target operation control; the method further includes: in response to a triggering operation for the trigger effect selection option, displaying a trigger effect list in an editing window; wherein, the trigger effect list includes various preset effects; in response to a selection operation for a target preset effect in the trigger effect list, determining the target preset effect as the trigger effect corresponding to the target operation control corresponding to the target operation control to be edited, so that when the target operation control is triggered during the game running stage, the target preset effect is generated in the game running scene.
[0162] In an alternative embodiment, the various preset effects included in the above trigger effect list at least include: controlling the virtual vehicle to emit a specified audio, controlling the virtual vehicle to stop moving, controlling the target scene component to work, and controlling the triggering of a specified event.
[0163] In an alternative embodiment, when the trigger effect is to control the target scene component to work, the control editing option further includes a trigger mode selection option, and the trigger mode selection option is used to determine the control parameters of the target operation control corresponding to the target operation control to be edited; the method further includes: in response to a triggering operation for the trigger mode selection option, displaying a trigger mode list in an editing window; wherein, the trigger mode list includes various preset trigger modes; in response to a selection operation for a target trigger mode in the trigger mode list, determining the target trigger mode as the trigger mode corresponding to the target operation control to be edited, so that during the game running stage, the target operation control is triggered by the target trigger mode.
[0164] In an alternative embodiment, the above target trigger mode is at least used to indicate: the interaction mode triggered by the target operation control, the number of times the target operation control can be triggered, and the restricted trigger duration after each triggering of the target operation control.
[0165] In an alternative embodiment, the method further includes: in the game running scene, in response to the number of times the target operation control can be triggered being 0, canceling the display of the target operation control in the second graphical user interface.
[0166] In an alternative embodiment, when the trigger effect is to control the triggering of a specified event, the control editing option further includes an event configuration option, and the method further includes: in response to a third editing operation on the event configuration option, configuring a target trigger event corresponding to the target operation control to be edited and an event scenario component associated with the target trigger event based on the third editing operation, so as to broadcast the target trigger event when the target trigger event is triggered by the target operation control corresponding to the target operation control to be edited, so that the event scenario component executes a pre-configured component behavior after detecting the target trigger event.
[0167] In an alternative embodiment, the editing window further includes a first control; the method further includes: in response to a triggering operation on the first control, displaying at least one control layout scheme in the first graphical user interface, where the control layout scheme is used to determine the display position and display size of the target operation control corresponding to the operation control to be generated when it is displayed in the second graphical user interface.
[0168] In an alternative embodiment, the method further includes: in response to a selection operation on a target control layout scheme among at least one control layout scheme, determining the target control layout scheme as the control layout scheme for the target operation control when it is displayed; in response to a control position adjustment operation on the target operation control to be edited in the editing window, controlling to adjust the display position of the target operation control corresponding to the target operation control to be edited in the target control layout scheme from a first layout position to a second layout position; where the second layout position is determined based on the display order of the target operation control to be edited among at least one operation control to be edited.
[0169] In an alternative embodiment, the virtual vehicle includes at least one first component, and the method further includes: in response to an operation permission setting operation for the operation control to be generated, configuring a corresponding target first component for the operation control to be generated based on the operation permission setting operation, so as to configure the permission for a virtual object using the target first component to control the target operation control corresponding to the operation control to be generated.
[0170] In an alternative embodiment, the method further includes: in response to a target virtual object in the game running scenario being located on the target first component, obtaining a pre-configured target operation permission corresponding to the target first component, and configuring the target operation permission for the target virtual object; in response to the target virtual object being configured with the target operation permission, displaying a target operation control corresponding to the target operation permission in the terminal device corresponding to the target virtual object; in response to the target virtual object leaving the target first component, canceling the target operation permission configured for the target virtual object and canceling the display of the target operation control corresponding to the target operation permission.
[0171] In an alternative embodiment, the above method further includes: in response to a game running instruction, displaying at least a part of the game running scene through a second graphical user interface, where the game running scene includes a target virtual object and a virtual vehicle; in response to a movement control operation for the target virtual object, controlling the target virtual object to move in the game running scene; in response to the target virtual object moving to the boarding area corresponding to the virtual vehicle, displaying a boarding control in the second graphical user interface; in response to a triggering operation for the boarding control, controlling the target virtual object to ride on the virtual vehicle, and displaying a target operation control corresponding to the operation right item corresponding to the riding position of the target virtual object in the graphical user interface.
[0172] In an alternative embodiment, the above method further includes: in response to a third editing operation, determining display parameters corresponding to an operation component to be generated based on the third editing operation; where the display parameters are used to: indicate a display style of a target operation control corresponding to the operation control to be generated when the virtual vehicle is running; the display parameters include: a first parameter for determining the control name of the target operation control, and a second parameter for determining the control icon style of the target operation control.
[0173] If the described functionality is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a terminal device, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disc that can store program codes.
[0174] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation of the present invention. In addition, the terms "first", "second", "third" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance.
[0175] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any technician familiar with the technical field of the present invention can still modify the technical solutions described in the foregoing embodiments or easily think of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A game editing method, characterized in that, The game includes a game editing stage and a game running stage, and the method includes: In the game editing stage, a first graphical user interface is provided through a terminal device, and at least part of the game editing scene is displayed in the first graphical user interface, wherein the game editing scene includes a virtual vehicle; In response to a first editing operation, an operation control to be generated and at least one scene component associated with the virtual vehicle are determined based on the first editing operation, wherein the operation control to be generated is used to generate a corresponding target operation control when the virtual vehicle is running, and the scene component is configured with game behavior parameters, and the game behavior parameters are used to instruct the scene component to perform specific game behaviors; In response to a second editing operation, a target scene component is determined from at least one scene component associated with the virtual vehicle, and an association relationship is established between the operation control to be generated and the target scene component; In the game running stage, a second graphical user interface is provided through the terminal device, and at least part of the game running scene and the target operation control corresponding to the operation control to be generated are displayed in the second graphical user interface, wherein the game running scene includes the virtual vehicle; In response to a trigger operation on the target operation control, the target scene component is controlled according to the association relationship between the operation control to be generated and the target scene component, so that the target scene component performs the specific game behavior in the game running scene.
2. The method according to claim 1, wherein The at least one scene component associated with the virtual vehicle includes: a vehicle-mounted component pre-assembled with the virtual vehicle, the vehicle-mounted component is located at a preset position on the virtual vehicle, and the vehicle-mounted component maintains an unchanged relative position relationship with the virtual vehicle during the process of following the virtual vehicle moving.
3. The method according to claim 1, characterized in that The specific game behavior performed by the target scene component in the game running scene is determined by the following method: In response to a game behavior parameter setting operation, target behavior parameters are determined based on the game behavior parameter setting operation, and the target behavior parameters are determined as the game behavior parameters configured for the target scene component, so that the target scene component generates the specific game behavior based on the target behavior parameters.
4. The method according to claim 3, characterized in that, The target behavior parameters at least include: the force magnitude, the maximum moving speed, and the mass of the target scene component; the game behavior corresponding to the target scene component includes: providing a force in a preset direction based on the target behavior parameters; when the target scene component is assembled at a preset position of the virtual vehicle, the target scene component provides the force in the preset direction to the virtual vehicle through physical transmission, and the preset direction is determined by the preset position of the target scene component on the component of the virtual vehicle.
5. The method according to claim 4, wherein The method further includes: In response to the target scene component performing the specific game behavior in the game running scene, controlling the virtual vehicle to move in the preset direction, and the moving speed of the virtual vehicle in the preset direction is determined by the force provided by the target scene component.
6. The method according to claim 1, characterized in that, The step of determining the operation control to be generated based on the first editing operation in response to the first editing operation includes: In response to the first editing operation, display an editing window in the first graphical user interface, where the editing window includes at least one operation control to be edited, and determine the at least one operation control to be edited as the operation control to be generated; In response to a trigger operation on a target operation control to be edited among the operation controls to be edited, display control editing options corresponding to the target operation control to be edited in the editing window, where the control editing options are used to configure the control parameters of the target operation control to be edited.
7. The method according to claim 6, wherein The at least one operation control to be edited includes: an operation control to be edited added historically and / or a newly added operation control to be edited.
8. The method according to claim 7, wherein The number of operation controls included in the virtual vehicle is a specified number, and the number of operation controls to be edited is not greater than the specified number.
9. The method according to claim 6, wherein The step of determining at least one scene component associated with the virtual vehicle based on the first editing operation in response to the first editing operation includes: In response to the first editing operation, determine a first scene component from multiple scene components in the game editing scene based on a first component identifier, and determine the first scene component as the scene component associated with the virtual vehicle; Wherein, the first component identifier is the component identifier corresponding to the scene component associated with the virtual vehicle, and the first component identifier is used to indicate the association relationship between the first scene component and the virtual vehicle.
10. The method according to claim 9, characterized in that, The control editing options include a scene component selection option. The step of determining a target scene component from at least one scene component associated with the virtual vehicle and establishing an association relationship between the operation control to be generated and the target scene component in response to a second editing operation includes: In response to a trigger operation on the scene component selection option, display a scene component list corresponding to at least one scene component associated with the virtual vehicle in the editing window; In response to a selection operation on the scene component list, determine the scene component selected by the selection operation as the target scene component, and establish an association relationship between the target operation control to be edited and the target scene component.
11. The method according to claim 6, wherein The control editing options include a trigger effect selection option, and the trigger effect selection option is used to determine the game effect triggered by the target operation control; the method further includes: In response to a trigger operation on the trigger effect selection option, display a trigger effect list in the editing window; wherein, the trigger effect list includes multiple preset effects; In response to a selection operation on a target preset effect in the trigger effect list, determine the target preset effect as the trigger effect corresponding to the target operation control to be edited, so that when the target operation control is triggered during the game running stage, the target preset effect is generated in the game running scene.
12. The method according to claim 11, wherein The multiple preset effects included in the trigger effect list at least include: controlling the virtual vehicle to emit a specified audio, controlling the virtual vehicle to stop moving, controlling the target scene component to work, and controlling the triggering of a specified event.
13. The method according to claim 12, wherein When the trigger effect is to control the target scene component to work, the control editing option further includes a trigger method selection option, and the trigger method selection option is used to determine the control parameters of the target operation control corresponding to the target operation control to be edited; the method further includes: Responding to a trigger operation on the trigger method selection option, displaying a trigger method list in the editing window; wherein, the trigger method list includes multiple preset trigger methods; Responding to a selection operation on the target trigger method in the trigger method list, determining the target trigger method as the trigger method corresponding to the target operation control to be edited, so as to trigger the target operation control through the target trigger method during the game running stage.
14. The method according to claim 13, wherein The target trigger method is at least used to indicate: the interaction method for triggering the target operation control, the number of times the target operation control can be triggered, and the restricted trigger duration after each triggering of the target operation control.
15. The method according to claim 14, wherein The method further includes: In the game running scene, in response to the number of times the target operation control can be triggered being 0, canceling the display of the target operation control in the second graphical user interface.
16. The method according to claim 12, wherein When the trigger effect is to control the triggering of a specified event, the control editing option further includes an event configuration option, and the method further includes: Responding to a third editing operation on the event configuration option, configuring the target trigger event corresponding to the target operation control to be edited and the event scene component associated with the target trigger event based on the third editing operation, so as to broadcast the target trigger event when the target operation control corresponding to the target operation control to be edited triggers the target trigger event, so that the event scene component executes the pre-configured component behavior after listening to the target trigger event.
17. The method according to claim 6, wherein The editing window further includes a first control; the method further includes: Responding to a trigger operation on the first control, displaying at least one control layout scheme in the first graphical user interface, and the control layout scheme is used to determine the display position and display size of the target operation control corresponding to the operation control to be generated when it is displayed in the second graphical user interface.
18. The method according to claim 17, wherein The method further includes: Responding to a selection operation on the target control layout scheme in the at least one control layout scheme, determining the target control layout scheme as the control layout scheme of the target operation control when it is displayed; Responding to a control position adjustment operation on the target operation control to be edited in the editing window, controlling the display position of the target operation control corresponding to the target operation control to be edited in the target control layout scheme to be adjusted from a first layout position to a second layout position; Wherein, the second layout position is determined based on the display order of the target operation control to be edited in the at least one operation control to be edited.
19. The method according to claim 1, characterized in that The virtual vehicle includes at least one first component, and the method further includes: In response to an operation permission setting operation of the operation control to be generated, based on the operation permission setting operation, configure a corresponding target first component for the operation control to be generated, so as to configure, for a virtual object using the target first component, the permission to control a target operation control corresponding to the operation control to be generated through the target first component.
20. The method according to claim 19, wherein The method further includes: In response to a target virtual object in the game running scene being located on the target first component, obtain a pre-configured target operation permission corresponding to the target first component, and configure the target operation permission for the target virtual object; In response to the target virtual object being configured with the target operation permission, display a target operation control corresponding to the target operation permission in a terminal device corresponding to the target virtual object; In response to the target virtual object leaving the target first component, cancel the target operation permission configured for the target virtual object, and cancel the display of the target operation control corresponding to the target operation permission.
21. The method according to claim 20, wherein The method further includes: In response to a game running instruction, display at least a part of the game running scene through the second graphical user interface, where the game running scene includes a target virtual object and the virtual vehicle; In response to a movement control operation for the target virtual object, control the target virtual object to move in the game running scene; In response to the target virtual object moving to a boarding area corresponding to the virtual vehicle, display a boarding control in the second graphical user interface; In response to a trigger operation for the boarding control, control the target virtual object to ride on the virtual vehicle, and display a target operation control corresponding to an operation right item at a position where the target virtual object rides in the graphical user interface.
22. The method according to claim 1, wherein The method further includes: In response to a third editing operation, determine display parameters corresponding to the operation component to be generated based on the third editing operation; wherein, the display parameters are used to: indicate a display style for displaying a target operation control corresponding to the operation control to be generated when the virtual vehicle is running; the display parameters include: a first parameter for determining a control name of the target operation control, and a second parameter for determining a control icon style of the target operation control.
23. A game editing device, characterized in that, The game includes a game editing stage and a game running stage, and the device includes: A first interface display module, configured to provide a first graphical user interface through a terminal device in the game editing stage, and display at least a part of the game editing scene in the first graphical user interface, where the game editing scene includes a virtual vehicle; A first editing module, configured to, in response to a first editing operation, determine an operation control to be generated and at least one scene component associated with the virtual vehicle based on the first editing operation, where the operation control to be generated is used to generate a corresponding target operation control when the virtual vehicle is running, and the scene component is configured with game behavior parameters, and the game behavior parameters are used to indicate that the scene component executes a specific game behavior; A second editing module, configured to determine a target scene component from at least one scene component associated with the virtual vehicle in response to a second editing operation, and establish an association relationship between the operation control to be generated and the target scene component; A second interface display module, configured to provide a second graphical user interface through the terminal device during the game running stage, and display at least a part of the game running scene and the target operation control corresponding to the operation control to be generated in the second graphical user interface, wherein the game running scene includes the virtual vehicle; A control triggering module, configured to control the target scene component according to the association relationship between the operation control to be generated and the target scene component in response to a triggering operation on the target operation control, so that the target scene component performs the specific game behavior in the game running scene.
24. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the game editing method according to any one of claims 1 to 22.
25. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the game editing method according to any one of claims 1 to 22.
Citation Information
Patent Citations
Game virtual resource editing method and device, equipment and storage medium
CN110262730A
Game scene editing method and device, storage medium and electronic device
CN111569426A