API Reference¶
The Naucto Lua API provides a small, focused set of functions for building games. All functions are available as globals in your Lua scripts.
Summary¶
Function |
Description |
|---|---|
Clear the screen with a palette color |
|
Draw a sprite or block of sprites |
|
Draw the tilemap |
|
Set the camera offset |
|
Draw a line |
|
Draw an outlined rectangle |
|
Draw a filled rectangle |
|
Check if a key is held down |
|
Write text to the output panel |
|
Remap a palette color |
|
Restore the original palette |