Thank you so much!! I have read that a few times over but I must've missed it.Azhukar wrote: ↑Mon Oct 30, 2017 12:46 pmRead https://github.com/kikito/anim8Code: Select all
function love.update(dt) if love.keyboard.isDown('a') then current_animation = animations.left current_animation:update(dt) end end
Search found 4 matches
- Mon Oct 30, 2017 9:48 pm
- Forum: Support and Development
- Topic: Anim8 Walking Animation using keys returning nil
- Replies: 2
- Views: 3904
Re: Anim8 Walking Animation using keys returning nil
- Mon Oct 30, 2017 3:27 am
- Forum: Support and Development
- Topic: Anim8 Walking Animation using keys returning nil
- Replies: 2
- Views: 3904
Anim8 Walking Animation using keys returning nil
I'm trying to create a walking animation as the player walks using keys with anim8. My code is as follows local anim8 = require 'anim8' local spritesheet, animation function love.load() spritesheet = love.graphics.newImage('paulaa.png') local g = anim8.newGrid(32, 48, spritesheet:getWidth(), sprites...
- Mon Oct 23, 2017 10:43 pm
- Forum: Support and Development
- Topic: Anim8 Issue: There is no frame for x=1, y=2
- Replies: 3
- Views: 3670
Re: Anim8 Issue: There is no frame for x=1, y=2
Thank you for the help!!
I decided to ditch my code and use the example on github, as well as changing my sprite sheet.
The issue was with the dimensions of my sprite sheet being wrong as well as some other errors I fixed up.
I decided to ditch my code and use the example on github, as well as changing my sprite sheet.
The issue was with the dimensions of my sprite sheet being wrong as well as some other errors I fixed up.
- Sun Oct 22, 2017 7:28 am
- Forum: Support and Development
- Topic: Anim8 Issue: There is no frame for x=1, y=2
- Replies: 3
- Views: 3670
Anim8 Issue: There is no frame for x=1, y=2
I'm very inexperienced and I have little idea what I'm doing. I'm assuming I've made a simple mistake but I just can't find it :cry: I'm using anim8 but I can't make it actually animate a walking motion, left to right using an earthbound sprite sheet. I've measured the dimensions of the sprite sheet...