Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create new sprite quickly
local s = Sprite(256, 256, ColorMode.RGB)
s:setPalette(Palette{ fromResource="DB32" })
app.bgColor = Color{ red=255, green=255, blue=255 }
app.command.BackgroundFromLayer()
local s = Sprite(256, 256, ColorMode.RGB)
s:setPalette(Palette{ fromResource="DB32" })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment