Changes between Version 1 and Version 2 of ScriptSystem
- Timestamp:
- 09/27/07 20:57:01 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScriptSystem
v1 v2 3 3 == Script or not to script == 4 4 5 One of the components of nrEngine is a scripting interfaces. It provides the developer with a simple interface for including different script languages into the application. [[BR]] 6 The script system does work as a wrapper for different scripting languages. Third party plugins, like ["LuaPlugin"] provides the connective glue code to include the support of a scripting language. 5 One of the components of nrEngine is a scripting interfaces. It provides the developer with a simple interface for including different script languages into the application. The script system does work as a wrapper for different scripting languages. Third party plugins, like ["LuaPlugin"] provides the connective glue code to include the support of a scripting language. 7 6 8 7 A plugin does register itself by the engine and specify which kind of scripts it can handle. It can also register functions and methods with the engine, so that a call of any registered function will lead to call of the implementation of that function. Moreover due to the glue functionality of the engine's scripting system a globaly registered function can be accessed in different scripting languages by its proper name. For this a plugin, providing new scripting language, has to connect functions from the engine's script function database with the language interface it provides.