BatsAndPray/lib/animx/Examples/Actor from XML/main.lua
Jaidyn Ann 227b231992 Init
2020-09-18 23:10:01 -05:00

8 lines
203 B
Lua

animx=require 'animx'
alien=animx.newActor('alienPink.png')
:switch('swim'):getAnimation():loop():setDelay(.4)
function love.draw()
alien:draw(400,300,0,1,1,alien:getWidth()/2,alien:getHeight()/2)
end