Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function love.animate()
- animationNameHere = ("single", imagewidth, imageheight, fps, filename, "loop")
- OtherAnimationHere = ("multiple", fps, filename, numberOfFrames, "nonloop")
- // the single or multiple determines whether or not it is one or more files in the animation
- // the two are different because when in a multiple file type animation would the size need to be specified?
- // the way to display these would be as follows
- function love.draw()
- love.draw.graphics(animationNameHere, x, y, ect.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement