youtube.com/watch?v=1uK1xLaPTMw Lines Platformer Engine Part 4 Player Velocity and X Collision. Now it's like a platformer! プレーヤー速度とX当たり判定 WASD - move. EQ - zoom. 1,2 to create new lines WASDEQキーで移動して1と2キーで線を引く Features: - player sprite - y collision with floors - x collision with walls - walking up slopes - walking down slopes - sliding down steep slopes - checked all extreme line configurations, no errors - emergency escape code (griffpatch) Collision Process explanation in comment inside the player sprite. Also I made this video explaining everything ---> youtube.com/watch?v=1uK1xLaPTMw <--- Also I tested moving platforms, literally just changing the coordinates of a line and seeing how the player collision reacts. It looks pretty good! But slightly buggy (player skipping down them, pop through ceiling, can't move along x) but it can probably fixed with more advanced dx,dy system later. Part 5 goal: - chunking system for lines