init platformer