Avoid the obstacles! You can fly, run, or swim. You can pick up potions which null the effect of some obstacles if you use them (spacebar).