So, I decided that - being a 2d game - the player needs to have a way to get out of corners if he’s trapped by enemies. What’s the answer?
A ROLL SKILL!
So I went to work. I pieced together the animation, I programmed in a roll skill, and I went to add it to the controls and realized that 1.) If the player uses a keyboard, he has no free fingers to use it and 2.) The keyboard is super badly laid out.
So then I re-programmed all of the inputs, which caused bugs all over the place, but I sorted all of that out.
Then I put in the roll function and surprisingly, it didn’t work on the first try.
Or the second.
Had a mix of the player accelerating out of control to rolling through walls, to falling through the floor randomly.
…
Got all that sorted out!
Roll function working!
0 comments