This devlog was mainly to address feedback from the voters!
Firstly, people mentioned that friction didnt apply as greatly when moving left, so i changed the friction from it being multiplicative (*0.93) to the speed every frame to it being subracting or addind (+ or - 0.5 to the players current speed every frame)
This already made the game feel miles better since you dont get flung off the map when trying to stop moving left.
Many people were also saying that my player’s movement speed was wayy too fast, so i halved it :). The voters were right, since it made the feel of the game much more controllable, and therefore more enjoyable.
Someone also mentioned that moving left or right whilst jumping was buggy, but i couldnt reproduce any type of problem, so i checked that off of my todo list.
I also updated the input system for easier direction change, and for the better friction. It feels a bit more responsive, but nothing too crazy.
I very stupidly had my player x and y as ints, so that caused a bug where the right movement was half as fast compared to left (no clue why, probably some math stuff), so there is that.
Also added a layer of spikes at the bottom of the map so the player dies when he falls off
There is also an issue with jumping due to the new code, but i will fix that soon!
Those were mainly all the issues with the player, so i will now move on to the feedback of the editor once everything is fully polished.
The recording is the issue i was talking about, probably rounding/truncation error that confuses where the player should be by 1 pixel