movw-0x16.cf


LD-35 post mortem

Mon. Apr 18, 04:03AM, 1 year and 5 months ago

Yes I failed.
In my defence however, I’d only just began to learn lua about 3 weeks ago, and it turns out that learning a framework and multiple libraries in 48 hours isn’t really a good way of going about these things. Yes, I will be back for the next Ludum Dare.

I do feel pretty bad about it, I spent a lot of time agonizing over the bump.lua collisions, but alas, ‘skully’ just wanted to sink through the floor for reasons unknown to me.

I made a timelapse using gLapse too, so you can see I was actually trying to get things to work, but after day 1 was over my motivation was pretty low, I’d managed to get the sprite sheets for the character done, and after several reiterations of how anim8 handles the sprite sheets I got them implemented and working in a mostly sane fashion.

   animations = {
      upFlip = anim8.newAnimation(g_jump('1-15',1), 0.1),
      ...
      }

function player.state()
   if player.yvel ~= 0 and love.keyboard.isDown('a') then
      player.animation = grey.animations.upFlip
   end
   ...
end
function love.draw()
  if gamestate == "title" then
      ...
  else
   if player.yvel ~= 0 and love.keyboard.isDown('a') then
      player.animation:draw(grey.jump, player.x, player.y)
   ...
   end
   end
end

Overall I’m pretty put down by the whole thing, I did bite off more than I could chew, so a rule for myself next time will be; “If you think it’s not complicated, it most definitely is.”, that should keep me in check, perhaps next time I shouldn’t make a platformer and just try and make some little minigame that I can actually do and have sound effects, music, graphics etc. in a finished state. Hopefully when the next LD comes around I should be in better stead with lua and LOVE2D that I can solve problems relatively easily and with little stress.

Return

Submit a comment

?