some primitive platformer stuff.