fixed up platformer demo