How to achieve a bounce/squish animation?
Posted: Sun Apr 22, 2012 10:48 am
How would I achieve the animation like in this example with Love2D?
http://dl.dropbox.com/u/38791214/platformer.swf (From Ludumdare Keynote)
The animation of the box, I'm struggling to make it animate like it does in that flash game. How would I go about this? Right now the Love2D game is just a square being drawn, how would I animate it like that?
Here's the code so far for the square and everything: https://gist.github.com/2463428
or alternatively, a .love file: http://dl.dropbox.com/u/38791214/main.love
If somebody could steer me in the right direction or provide an example that would be great!
http://dl.dropbox.com/u/38791214/platformer.swf (From Ludumdare Keynote)
The animation of the box, I'm struggling to make it animate like it does in that flash game. How would I go about this? Right now the Love2D game is just a square being drawn, how would I animate it like that?
Here's the code so far for the square and everything: https://gist.github.com/2463428
or alternatively, a .love file: http://dl.dropbox.com/u/38791214/main.love
If somebody could steer me in the right direction or provide an example that would be great!