Svoka 1ea57900c5 Fixing bugs in Lua runtime; adding support for meshes in Corona runtime; adding spineboy-mesh demo (#600)
Bugs:

* ffd animation was ignoring last frame. Lua has 1-based arrays, so last frame is `frames[#frames]`, not `frames[#frames - 1]`
* nil exception when accessing array lenght after it's confirmed nil. First we check if `not vertices` and in next statement we're trying to check for it's length, which causes exception. This code is logically equivalent to code before but avoids checking potentially nil array for length.
2016-06-04 16:12:43 +02:00

6 lines
188 B
Lua

require "examples.spineboy.spineboy"
-- require "examples.spineboy.spineboy-mesh"
-- require "examples.goblins.goblins"
-- require "examples.dragon.dragon"
-- require "examples.hero.hero"