BatsAndPray/lib/animx/Examples/Animation from XML/main.lua

7 lines
148 B
Lua
Raw Permalink Normal View History

2020-09-18 23:10:01 -05:00
animx=require 'animx'
anim=animx.newAnimation('atlas.png'):setStyle('rough'):loop()
function love.draw()
anim:draw(400,300,0,15,15,24/2,24/2)
end