Hi, I have just finished a tutorial on how to draw an animated sprite using Löve2D (I'm using v0.9.1).
A modified version using SpriteBatch will come soon (soon as in Valve's calendar ).
Since I think the most interested people can be found here, I will just leave the link so anyone can access!
Hope you guys don't mind.
http://www.buildandgun.com/2014/07/anim ... ove2d.html
I am attaching a .love file, even though I can't get it to run in my computer: loadfile() function is returning nil in the .love while it is working fine when running with the individual lua files, for some reason. If one of you can diagnose the problem, I'd certainly reupload this!
So, I was actually using Lua's standard loadfile function, that doesn't work on .love files; I knew I was doing smth wrong! haha
Anyway, here's the running .love file.
Simple Animated Sprite
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Who is online
Users browsing this forum: No registered users and 1 guest