add one-way platforms to platformer example