Engine-based lua script application and engine and lua script call method and device
An application method and script technology, applied in the direction of program control devices, etc., can solve problems such as programmers' inability to start, troublesome upgrade and maintenance, and disorder, and achieve the effects of reducing development costs and risks, avoiding nested calls of events, and reducing coupling
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.
[0040] figure 1 A first embodiment of the invention is shown.
[0041] figure 1 It is a flow chart of the method for mutual calling of the engine and the Lua script provided by the first embodiment of the present invention, and the method for mutual calling of the engine and the Lua script includes:
[0042] Step S101, register all events in the Lua script.
[0043] Lua scripts are driven by events, which can control character movement, keyboard, mouse, network, custom event messages, etc. The most popular application scen...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


