Search found 2 matches
- Wed May 02, 2012 1:15 pm
- Forum: Support and Development
- Topic: anim8 and key events: how to?
- Replies: 5
- Views: 3175
Re: anim8 and key events: how to?
I just basically followed the anim8's example, but I tried to insert a key listener to it: local anim8 = require 'anim8' local image, animation function love.load() image = love.graphics.newImage('path/to/image.png') local g = anim8.newGrid(32, 32, image:getWidth(), image:getHeight()) animation = an...
- Wed May 02, 2012 11:40 am
- Forum: Support and Development
- Topic: anim8 and key events: how to?
- Replies: 5
- Views: 3175
anim8 and key events: how to?
Hi, I'm a LÖVE nooby and working on my first game with this tool. I've searched through the forums, google, etc and couldn't find an example with uses AnAL or Anim8 (I'd prefer anim8) to animate a sprite on response to a key event -I'm using spritesheets which holds most of the art from my game. I'v...