David Capello
|
03c663da21
|
lua: add functions to create layers/frames/cels/tags/slices
Some extra additions:
* Layer.cels
* AniDir constants
* Slice property setters
* Tag.sprite
* Fixed frame numbers in Tag properties
|
2018-09-11 18:29:15 -03:00 |
David Capello
|
0b72249fcd
|
lua: add BlendMode constants
|
2018-09-10 15:11:59 -03:00 |
David Capello
|
f66d355249
|
Avoid unused var in release mode
|
2018-09-10 14:35:54 -03:00 |
David Capello
|
4dd57bd483
|
lua: show full filename when an assert() fails
|
2018-09-06 11:48:18 -03:00 |
David Capello
|
4a143cb902
|
lua: move user data fields to each class
|
2018-09-05 09:22:59 -03:00 |
David Capello
|
fa34453a1b
|
lua: add app.command.CommandName()
|
2018-09-04 17:21:33 -03:00 |
David Capello
|
f456f3cba3
|
lua: Initial support for sprite properties
Frames, Palettes/Color, Layers, Cels, Tags, Slices, etc.
|
2018-09-04 16:10:32 -03:00 |
David Capello
|
a107dd29a4
|
lua: add image iterators
In this way we can use:
local img = Image(32, 32)
for it in img:pixels() do
local pixelValue = it() -- get pixel
...
it(pixelValue) -- set pixel
end
|
2018-09-03 18:20:23 -03:00 |
David Capello
|
c5a5a7858c
|
lua: use base::Chrono for os.clock() (which has more precision)
|
2018-09-03 13:29:10 -03:00 |
David Capello
|
bc092b4512
|
lua: add some standard libraries and disable some insecure functions
|
2018-09-03 12:08:47 -03:00 |
David Capello
|
3edc7c7b9a
|
Share scripting engine in the whole App instance life
|
2018-08-31 14:30:32 -03:00 |
David Capello
|
4fe66f2ffb
|
Change scripting language to Lua
|
2018-08-22 14:54:51 -03:00 |