Simple Animated Sprite

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
dejaime
Prole
Posts: 2
Joined: Tue Jul 15, 2014 3:19 am

Simple Animated Sprite

Post by dejaime »

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 :ultrahappy: ).

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.
SimpleAnimatedSprite.love
Simple Animated Sprite with example of usage.
(24.29 KiB) Downloaded 130 times
Post Reply

Who is online

Users browsing this forum: Bing [Bot], pgimeno and 69 guests