Platformer physics and general collisions implemented