Crown 0.59.0 Manual
Changelog
Introduction
Installing Crown
Getting Started
Writing Gameplay
Scripting in Lua
Objects binding and lifetime
Interacting with Units
Deploying
Reference
Lua API reference
Glossary
License
Hackers
Crown 0.59.0 Manual
»
Writing Gameplay
View page source
Writing Gameplay
ΒΆ
Scripting in Lua
What is Lua
Runtime entry points
The boot script
The GameBase framework
Hot reloading
Objects binding and lifetime
Light userdata binding
Full userdata binding
Singleton objects
Temporary objects
Interacting with Units
Getting Unit handles
The Script component
Creating a Unit script