one of my more simpler platformer engines controls: left and right arrow keys to move z to jump p to toggle level hitboxes instead of using one sprite to represent the level's hitbox, i used 4 separate hitboxes, one for the ground, one for jump-through platforms, and two for the left and right walls. with separate hitboxes for the left and right walls, it is easier to distinguish which parts of the level are walls, and which parts are the ground. this can help with preventing the player from jumping on steep slopes and other things. hitbox color-coding: green: ground purple: jump-through platforms cyan: left-facing walls orange: right-facing walls thanks to @griffpatch for the tutorial on how to make jump-through platforms #games