CN117950658A - Low-code writing method for virtual world, electronic device and storage medium - Google Patents

Low-code writing method for virtual world, electronic device and storage medium Download PDF

Info

Publication number
CN117950658A
CN117950658A CN202311871457.5A CN202311871457A CN117950658A CN 117950658 A CN117950658 A CN 117950658A CN 202311871457 A CN202311871457 A CN 202311871457A CN 117950658 A CN117950658 A CN 117950658A
Authority
CN
China
Prior art keywords
interface
block
tile
code
interfaces
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311871457.5A
Other languages
Chinese (zh)
Inventor
李西峙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tatfook Network Tech Co Ltd
Original Assignee
Shenzhen Tatfook Network Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tatfook Network Tech Co Ltd filed Critical Shenzhen Tatfook Network Tech Co Ltd
Priority to CN202311871457.5A priority Critical patent/CN117950658A/en
Publication of CN117950658A publication Critical patent/CN117950658A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a low-code writing method, electronic equipment and storage medium of a virtual world, wherein the virtual world comprises a plurality of code blocks, and the writing method comprises the following steps: acquiring a block event of a first code block, wherein the block event comprises at least one block interface; copying the tile event to a second code block, the second code block comprising a plurality of generic tile interfaces; acquiring interface attributes and interface codes of the block interfaces, and acquiring at least one extended block interface based on the interface attributes and the interface codes of the block interfaces; the second code block is edited based on the plurality of generic tile interfaces and the at least one extended tile interface. The application copies the block event of the first code block to the second code block, namely multiplexes the block codes, generates the extended block interface based on the block interface of the block event, can edit the second code block based on the newly generated extended block interface, meets the development requirements of various application scenes, and improves the code multiplexing rate.

Description

Low-code writing method for virtual world, electronic device and storage medium
Technical Field
The present application relates to the technical field of low code development, and in particular, to a method for writing low code in a virtual world, an electronic device, and a storage medium.
Background
In a conventional computer development process, a programmer needs to write program code line by line. However, in some application scenarios, for example, the creation of a three-dimensional scenario or the construction of a three-dimensional model, there are a large number of repeated use of code segments, but the code segments are directly copied, and in the subsequent compiling, testing, construction of a production environment and maintenance processes, readjustment is required, which results in low code multiplexing rate and low development efficiency.
Disclosure of Invention
In order to solve the above problems, the present application provides a low-code writing method of a virtual world, an electronic device, and a storage medium.
In order to solve the above technical problems, the present application provides a first technical solution, and provides a method for writing low codes in a virtual world, where the virtual world includes a plurality of code blocks, the method for writing the low codes includes: obtaining a block event of a first code block, the block event comprising at least one block interface; copying the tile event to a second code block, the second code block comprising a plurality of generic tile interfaces; acquiring interface attributes and interface codes of the block interfaces, and acquiring at least one extended block interface based on the interface attributes and the interface codes of the block interfaces; editing the second code block based on a plurality of the generic tile interfaces and at least one of the extension tile interfaces.
Wherein the step of copying the tile event to a second code block comprises: receiving a copy instruction at the first code block; copying a configuration file of the block event based on the copy instruction, wherein the configuration file comprises interface attributes and interface codes of the block interface; receiving a paste instruction at the second code block; analyzing the configuration file based on the paste instruction, and recovering to obtain at least one block interface based on the interface attribute and the interface code of the block interface; the tile event is obtained based on at least one of the tile interfaces.
The step of parsing the configuration file based on the paste instruction and recovering at least one tile interface based on the interface attribute and the interface code of the tile interface includes: obtaining interface attributes of the block interfaces based on the configuration files, wherein the interface attributes comprise interface types, interface categories, block fields and interface input values; restoring and displaying at least one block interface based on the interface type, the interface category, the block field and the interface input value of the block interface; further, based on the configuration file, obtaining an interface code of the block interface; the interface code of the tile interface is copied to the code file of the second code block.
Wherein the step of deriving the tile event based on at least one of the tile interfaces comprises: displaying the block interfaces to obtain the block events in response to the block events comprising one block interface; responsive to the tile event including a plurality of the tile interfaces, obtaining an order of execution of the plurality of tile interfaces based on the configuration file; and sequentially displaying a plurality of block interfaces based on the execution sequence of the block interfaces to obtain the block event.
Wherein the step of obtaining at least one extended tile interface based on the interface attribute and the interface code of the tile interface comprises: customizing a tile template based on interface attributes and interface codes of the tile interface; obtaining at least one extended tile interface based on the tile template; at least one of the extension tile interfaces is added to an interface class library of the second code block.
Wherein the step of adding at least one of the extension tile interfaces to the interface class library of the second code block comprises: creating an extension class library in an interface class library of the second code block, and adding at least one extension tile interface to the extension class library.
Wherein said editing said second code block based on a plurality of said generic tile interfaces and at least one said extended tile interface comprises: editing the tile event by invoking a plurality of the generic tile interfaces and at least one of the extended tile interfaces; editing the generic tile interface or the extended tile interface by typing interface input values for a plurality of the generic tile interfaces and at least one of the extended tile interfaces; updating the code file of the second code block based on the edited generic tile interface or the extended tile interface.
Wherein the programming language of the code file of the first code block or the second code block is NPL, python or c++.
In order to solve the technical problems, the application provides another technical scheme as follows: there is provided an electronic device comprising a processor and a memory connected to the processor, wherein program data is stored in the memory, and the processor retrieves the program data stored in the memory to execute the low-code writing method of the virtual world as described above.
In order to solve the technical problems, the application provides another technical scheme as follows: there is provided a storage medium storing a computer program for implementing a low-code writing method of a virtual world as described above when executed by a processor.
The embodiment of the application provides a low-code writing method, electronic equipment and storage medium for a virtual world, which can meet the development requirements of various application scenes by copying block events of a first code block to a second code block, multiplexing the block events, generating an extended block interface based on the block interfaces of the block events, editing the second code block based on the original general block interface of the second code block and the newly generated extended block interface, improving the code multiplexing rate and improving the development efficiency.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of an embodiment of a method for low code writing of a virtual world provided by the present application;
FIG. 2 is a flow chart of another embodiment of a method for low code writing of a virtual world provided by the present application;
FIG. 3 is a flow chart of yet another embodiment of a method for low code writing of a virtual world provided by the present application;
FIG. 4 is a schematic diagram of a frame of an embodiment of an electronic device provided by the present application;
fig. 5 is a schematic structural diagram of an embodiment of a storage medium according to the present application.
Detailed Description
In order that the above objects, features and advantages of the invention will be readily understood, a more particular description of the invention will be rendered by reference to the appended drawings. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," and the like in this disclosure are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
At present, the code multiplexing rate of the traditional programming mode of the program code is low, so that the development efficiency is low. Based on the above problems, the embodiment of the application provides a low-code writing method of a virtual world, which copies the block event of a first code block to a second code block, namely multiplexes the block event, generates an extended block interface based on the block interface of the block event, edits the second code block based on the original general block interface of the second code block and the newly generated extended block interface, thereby meeting the development requirements of various application scenes, improving the code multiplexing rate and improving the development efficiency.
The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Referring to fig. 1, fig. 1 is a flowchart illustrating an embodiment of a method for writing low-code in a virtual world according to the present application. The method for writing the low code of the virtual world is applied to the electronic equipment, wherein the electronic equipment can be a server, a computer or a tablet.
In the embodiment of the application, the virtual world is a Three-dimensional virtual world simulated by a computer, and in the virtual world, a user can perform 3D (Three-dimensional) programming, 3D modeling or 3D animation, and can also perform 3D browsing of panoramic video by controlling a virtual camera or a virtual character. The code blocks of the virtual world can be independently operated, and the intelligent module is obtained by combining a plurality of code blocks and is used for realizing different functions. For example, the intelligent module may be an image recognition module, a three-dimensional model car module, or a click-to-read module.
Wherein the programming language of the code block is NPL (Nature Language Processing, natural language processing), python or c++, and a multi-language programming environment can be realized.
In this embodiment, 3D programming is implemented by low-code programming, that is, by writing a program in a low-code of a graphic block, 3D modeling or 3D animation is controlled, and a complex program effect is implemented. The low-code programming encapsulates code segments based on programming language into a block interface, and programs are written through dragging and combining of the block interface.
The low-code writing method of the virtual world of the embodiment includes the following steps:
s101: a tile event for a first code block is obtained, the tile event including at least one tile interface.
Wherein the first code block may include a plurality of tile events, each tile event including at least one tile interface. In this embodiment, an example of acquiring one of the tile events is described.
S102: the tile event is copied to a second code block that includes a plurality of generic tile interfaces.
Wherein, in order to multiplex the tile event of the first code block in the second code block, the tile event is copied to the second code block. The first code block and the second code block may be code blocks of different intelligent modules.
The code block includes a plurality of generic tile interfaces. The visual interface of the code block comprises a tool bar and a block editor, a plurality of general block interfaces are displayed on the tool bar, and a user can drag the general block interfaces to the block editor for editing or combining, so that low-code programming is realized. Taking the second code block as an example, the second code block is preset with a plurality of general-purpose block interfaces, for example, the general-purpose block interfaces can be "advance by 1 grid in 0.5 seconds", "prompt text' Hello-! ' or ' play action number 4 ', etc.
Further, a copy instruction is received at the first code block, and a configuration file of the tile event is copied based on the copy instruction, the configuration file including interface attributes and interface codes of the tile interface. And receiving a paste instruction in the second code block, analyzing the configuration file based on the paste instruction, and recovering to obtain at least one block interface based on the interface attribute and the interface code of the block interface. Based on the at least one tile interface, a tile event is obtained.
The configuration file of the tile event may be an XML (Extensible Markup Language ) file, where the configuration file of the tile event includes a plurality of code segments, and the plurality of code segments are in one-to-one correspondence with the plurality of tile interfaces. Each code segment includes interface attributes and interface codes for the tile interfaces.
Copying the configuration file of the block event in the first code block, analyzing the configuration file in the second code block, acquiring the interface attribute and the interface code of the block interface in the configuration file, and restoring the block editor of the second code block to obtain at least one block interface. And combining the restored block interfaces to obtain block events.
The user outputs a copy instruction or a paste instruction through the external device, the copy instruction is used for copying the configuration file of the block event, the paste instruction is used for analyzing the configuration file, and the restored block event is pasted.
S103: and acquiring interface attributes and interface codes of the block interfaces, and acquiring at least one extended block interface based on the interface attributes and the interface codes of the block interfaces.
The extended block interfaces are block templates generated based on interface attributes and interface codes of the block interfaces, and the block events comprise at least one block interface, wherein the situation that the same block interface obtains a plurality of block interfaces by using different parameters exists, and therefore the number of the extended block interfaces is smaller than or equal to the number of the block interfaces.
S104: the second code block is edited based on the plurality of generic tile interfaces and the at least one extended tile interface.
Wherein editing is performed at a tile editor of the second code block based on the extended tile interface and the generic tile interface of the second code block itself. Generating a new tile event by dragging or combining a plurality of generic tile interfaces and at least one extended tile interface, and further editing the tile event by editing interface input values of the generic tile interfaces or the extended tile interfaces.
Therefore, by the method of the embodiment, the block event of the first code block is copied to the second code block, namely, the block event code is multiplexed, the expansion block interface is generated based on the block interface of the block event, and the second code block is edited based on the original general block interface of the second code block and the newly generated expansion block interface, so that the development requirements of various application scenes can be met, the code multiplexing rate is improved, and the development efficiency is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating another embodiment of a method for writing low-code in a virtual world according to the present application. The embodiment is a specific implementation of step S102 in fig. 1.
The low-code writing method of the virtual world of the embodiment includes the following steps:
S201: based on the configuration file, interface attributes of the block interfaces are obtained, wherein the interface attributes comprise interface types, interface categories, block fields and interface input values.
The configuration file comprises a plurality of code segments, and the code segments are in one-to-one correspondence with the tile interfaces. Each code segment includes interface attributes and interface codes for the tile interfaces.
The interface type of the interface attribute is set according to the actual application scene. In this embodiment, 3D programming is taken as an example. The interface type may be add line, set auto play, set audio, set color, set font size, set margin, end window, create window, etc.
Interface categories include content, styles, and windows. For example, adding lines, setting automatic playing, setting audio as content category, setting color, setting font size, setting margin as style window, ending window, creating window as window category in the interface types.
The tile field is a text prompt displayed on the tile interface.
The interface input values are parameter values of the tile interface. Wherein the configuration file includes the type of interface input values or provides a plurality of parameter values for selection. The configuration file also includes default values for interface input values that are displayed when a user drags a tile interface to the tile editor. In this embodiment, since the tile event is copied from the first code block, the interface input value indicates the parameter value of the tile interface in the first code block.
S202: at least one tile interface is restored and displayed based on the interface type, interface class, tile field, and interface input value of the tile interface.
S203: based on the configuration file, an interface code of the block interface is obtained.
Wherein each tile interface has its corresponding interface code.
S204: the interface code of the tile interface is copied to the code file of the second code block.
And responding to the received pasting instruction, acquiring the position of the user outputting the pasting instruction, acquiring a position to be inserted in a code file of the second code block based on the tile interface of the context, and copying the interface code of the tile interface to the position to be inserted. For example, the user outputs a paste instruction at a middle position of the first tile event and the second tile event, and in response to receiving the paste instruction, restores and displays the tile interface at the middle position, and obtains a position corresponding to the middle position in the code file of the second code block, that is, obtains a position to be inserted, and copies the interface code of the tile interface to the position to be inserted.
S205: in response to the tile event including a tile interface, the tile interface is displayed resulting in a tile event.
S206: and responding to the block event to comprise a plurality of block interfaces, acquiring the execution sequence of the block interfaces based on the configuration file, and sequentially displaying the block interfaces based on the execution sequence of the block interfaces to obtain the block event.
The configuration file further includes an execution sequence of the plurality of tile interfaces. If the block event includes a plurality of block interfaces, when the block interfaces are restored and displayed, the block interfaces are sequentially arranged according to the original execution sequence, and the block interfaces are displayed in the block editor of the second code block.
Thus, by the method of the present embodiment, tile interfaces are restored by the interface attributes and interface codes of the tile interfaces in the configuration file to enable copying tile events of a first code block to a second code block.
Referring to fig. 3, fig. 3 is a flowchart illustrating a low-code writing method of a virtual world according to another embodiment of the present application. This embodiment is a specific implementation manner of step S103 and step S104 in fig. 1.
The low-code writing method of the virtual world of the embodiment includes the following steps:
s301: the tile templates are customized based on interface attributes and interface codes of the tile interfaces.
Wherein the custom tile template requires setting interface attributes and interface codes of the tile interface, wherein the interface attributes include an interface type, an interface class, a tile field, and an interface input value, the interface input value includes a value type or a plurality of parameter value examples, and a default value for the interface input value. When the block event of the first code block is copied to the second code block, the configuration file comprises interface attributes and interface codes of block interfaces, and the block templates are customized based on the interface attributes and the interface codes of the block interfaces.
S302: at least one extended tile interface is derived based on the tile template.
For at least one tile interface of a tile event, there are cases where the same tile interface uses different parameters to obtain multiple tile interfaces, so that duplicate tile interfaces are removed when customizing a tile template to obtain at least one expanded tile interface.
S303: at least one extension tile interface is added to an interface class library of the second code block.
Optionally, an extension class library is created at the interface class library of the second code block and at least one extension tile interface is added to the extension class library. The interface class library of the second code block comprises a plurality of general class libraries, for example, the interface class library can be a motion class library, an appearance class library, an event class library, a control class library, a sound class library, a perception class library, an operation class library and a data class library.
S304: a tile event is edited by invoking a plurality of generic tile interfaces and at least one extended tile interface.
And calling a plurality of general block interfaces and at least one extension block interface, combining the general block interfaces and the extension block interfaces, and adjusting the combination sequence according to the actual application scene.
S305: the universal tile interface or the extension tile interface is edited by typing in interface input values of a plurality of universal tile interfaces and at least one extension tile interface.
S306: the code file for the second code block is updated based on the edited generic or extended tile interface.
The low code programming of the block can be mutually converted with the code programming, and when the universal block interface is edited or the block interface is expanded, the code files of the second code block are correspondingly transformed, so that the embodiment can program by using the low code of the block, reduce the understanding and operation difficulty of a user, view the corresponding code programming, and help the user understand the code logic of the code programming.
Therefore, by the method of the embodiment, the extended block interfaces are generated based on the block interfaces of the block events, the second code blocks are edited based on the original general block interfaces of the second code blocks and the newly generated extended block interfaces, the development requirements of various application scenes can be met, the code multiplexing rate is improved, and the development efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic frame diagram of an embodiment of an electronic device according to the present application. As shown in fig. 4, the electronic device 100 includes a processor 101 and a memory 102 connected to the processor 101. The memory 102 is used for storing a computer program, and the processor 101 is used for executing the computer program to implement the above-mentioned low-code writing method of the virtual world.
The processor 101 may also be referred to as a CPU (Central Processing Unit ). The processor 101 may be an electronic chip with signal processing capabilities. Processor 101 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 102 may be a memory bank, a TF card, or the like, and may store all information in the electronic device 100, including input raw data, a computer program, intermediate operation results, and final operation results, which are stored in the memory 102. It stores and retrieves information based on the location specified by the processor 101. With the memory 102, the electronic device 100 has a memory function to ensure normal operation. The memory 102 of the electronic device 100 may be classified into a main memory (memory) and an auxiliary memory (external memory) according to the purpose, and may be classified into an external memory and an internal memory. The external memory is usually a magnetic medium, an optical disk, or the like, and can store information for a long period of time. The memory refers to a storage component on the motherboard for storing data and programs currently being executed, but is only used for temporarily storing programs and data, and the data is lost when the power supply is turned off or the power is turned off.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment of a storage medium according to the present application. As shown in fig. 5, the storage medium 110 stores therein a computer program 111 capable of implementing all the methods described above.
The units integrated with the functional units in the embodiment of the present application may be stored in the storage medium 110 if implemented in the form of software functional units and sold or used as independent products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product, and the storage medium 110 includes several instructions in a computer program 111 to enable a computer device (which may be a personal computer, a system server, or a network device, etc.), an electronic device (such as MP3, MP4, etc., also mobile terminals such as a mobile phone, a tablet computer, a wearable device, etc., also a desktop computer, etc.), or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more storage media 110 (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flowchart and/or block of the flowchart illustrations and/or block diagrams, and combinations of flowcharts and/or blocks in the flowchart illustrations and/or block diagrams, may be implemented by storage medium 110. These storage media 110 may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the computer program 111, which is executed by the processor of the computer or other programmable data processing apparatus, produces means for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
These storage media 110 may also be stored in a memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the computer program 111 stored in the storage media 110 produces an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks and/or block diagram block or blocks.
These storage media 110 may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the computer program 111, which executes on the computer or other programmable apparatus, provides steps for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
Any process or method descriptions in flow diagrams or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
Logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any medium for use by or in connection with an instruction execution system, apparatus, or device (which can be a personal computer, server, network device, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions).
The foregoing is only the embodiments of the present application, and therefore, the patent scope of the application is not limited thereto, and all equivalent structures or equivalent processes using the descriptions of the present application and the accompanying drawings, or direct or indirect application in other related technical fields, are included in the scope of the application.

Claims (10)

1. A method of writing low code for a virtual world, the virtual world comprising a plurality of code blocks, the method comprising:
Obtaining a block event of a first code block, the block event comprising at least one block interface;
copying the tile event to a second code block, the second code block comprising a plurality of generic tile interfaces;
acquiring interface attributes and interface codes of the block interfaces, and acquiring at least one extended block interface based on the interface attributes and the interface codes of the block interfaces;
editing the second code block based on a plurality of the generic tile interfaces and at least one of the extension tile interfaces.
2. The writing method of claim 1, wherein the step of copying the tile event to a second code block comprises:
receiving a copy instruction at the first code block;
Copying a configuration file of the block event based on the copy instruction, wherein the configuration file comprises interface attributes and interface codes of the block interface;
Receiving a paste instruction at the second code block;
analyzing the configuration file based on the paste instruction, and recovering to obtain at least one block interface based on the interface attribute and the interface code of the block interface;
the tile event is obtained based on at least one of the tile interfaces.
3. The writing method according to claim 2, wherein the step of parsing the configuration file based on the paste instruction and restoring at least one tile interface based on interface attributes and interface codes of the tile interface includes:
Obtaining interface attributes of the block interfaces based on the configuration files, wherein the interface attributes comprise interface types, interface categories, block fields and interface input values;
Restoring and displaying at least one block interface based on the interface type, the interface category, the block field and the interface input value of the block interface;
Further, based on the configuration file, obtaining an interface code of the block interface;
The interface code of the tile interface is copied to the code file of the second code block.
4. The method of writing of claim 3, wherein deriving the tile event based on at least one of the tile interfaces comprises:
Displaying the block interfaces to obtain the block events in response to the block events comprising one block interface;
responsive to the tile event including a plurality of the tile interfaces, obtaining an order of execution of the plurality of tile interfaces based on the configuration file;
and sequentially displaying a plurality of block interfaces based on the execution sequence of the block interfaces to obtain the block event.
5. A method of writing as claimed in claim 3, wherein the step of deriving at least one extended tile interface based on interface attributes and interface codes of the tile interface comprises:
customizing a tile template based on interface attributes and interface codes of the tile interface;
obtaining at least one extended tile interface based on the tile template;
at least one of the extension tile interfaces is added to an interface class library of the second code block.
6. The writing method of claim 5, wherein the step of adding at least one of the extension tile interfaces to an interface class library of the second code tile comprises:
creating an extension class library in an interface class library of the second code block, and adding at least one extension tile interface to the extension class library.
7. The method of writing of claim 6, wherein the editing the second code block based on the plurality of the generic tile interfaces and at least one of the extension tile interfaces comprises:
editing the tile event by invoking a plurality of the generic tile interfaces and at least one of the extended tile interfaces;
Editing the generic tile interface or the extended tile interface by typing interface input values for a plurality of the generic tile interfaces and at least one of the extended tile interfaces;
Updating the code file of the second code block based on the edited generic tile interface or the extended tile interface.
8. The writing method according to any one of claims 1 to 7, wherein a programming language of the code file of the first code block or the second code block is NPL, python or c++.
9. An electronic device comprising a processor and a memory coupled to the processor, wherein program data is stored in the memory, and wherein the processor invokes the program data stored in the memory to perform the method of low code writing of a virtual world as claimed in any one of claims 1 to 8.
10. A storage medium storing a computer program for implementing the low code writing method of a virtual world according to any of claims 1-8 when executed by a processor.
CN202311871457.5A 2023-12-28 2023-12-28 Low-code writing method for virtual world, electronic device and storage medium Pending CN117950658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311871457.5A CN117950658A (en) 2023-12-28 2023-12-28 Low-code writing method for virtual world, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311871457.5A CN117950658A (en) 2023-12-28 2023-12-28 Low-code writing method for virtual world, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117950658A true CN117950658A (en) 2024-04-30

Family

ID=90795422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311871457.5A Pending CN117950658A (en) 2023-12-28 2023-12-28 Low-code writing method for virtual world, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN117950658A (en)

Similar Documents

Publication Publication Date Title
US7569761B1 (en) Video editing matched to musical beats
US10207190B2 (en) Technologies for native game experience in web rendering engine
JP2009501388A (en) Smooth transition between animations
CN103092612A (en) Method and electronic device for achieving three dimensional (3D) desktop mapping of Android operating system
WO2004023294A1 (en) Gui application development support device, gui display device, and method, and computer program
CN105204859A (en) Animation management method and system
CN112528203A (en) Webpage-based online document making method and system
US20230336680A1 (en) Simulated photographing special effect generation method and apparatus, device, and medium
CN113655999A (en) Rendering method, device and equipment of page control and storage medium
US10269388B2 (en) Clip-specific asset configuration
US20150339004A1 (en) Dynamic interface generation using command and user levels
CN117950658A (en) Low-code writing method for virtual world, electronic device and storage medium
Rungta et al. ManyVis: Multiple applications in an integrated visualization environment
CN113709575B (en) Video editing processing method and device, electronic equipment and storage medium
JP4889338B2 (en) Screen program layout changing method, information processing apparatus, program, and recording medium
US7788634B2 (en) Methods and systems for efficient behavior generation in software application development tool
WO2006037162A1 (en) Method and system for preloading
CN116055799B (en) Multi-track video editing method, graphical user interface and electronic equipment
KR101553272B1 (en) Control method for event of multimedia content and building apparatus for multimedia content using timers
JP4063566B2 (en) Program production method
CN111135570B (en) Element configuration method, device, equipment and storage medium based on Unity
US20230350532A1 (en) System and method for on-screen graphical user interface encapsulation and application history reproduction
Lu et al. Interactive Augmented Reality Application Design based on Mobile Terminal
CN116962807A (en) Video rendering method, device, equipment and storage medium
CN114281324A (en) Page generation method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination