The secret guide to bullets sprites and animations
by shy
















































The secret guide to bullets sprites and animations
And one last tip for more advanced coders: you can unpack()split() the animation frame numbers if you want to save on tokens. As long as unpack() doesn't have a comma after it, it will work just like a list of numbers would, for 4 total tokens no matter how long the animation is. (split'string' takes advantage of some weird Lua function calling semantics, but it still works. Read that Lua manual to find more tricks like this!)