Slime AI

Slime AI is an AI followed by every Slime in the game.

Behavior
Slimes exhibit the following behavior:


 * Chase the player by jumping towards them
 * Float on water
 * Jump up to higher Wood Platforms, but can not drop down them
 * Take damage from Lava, except the Lava Slime
 * Suffer knockback

Strategies
Slimes jiggle up and down slightly, which becomes faster when they are about to jump. It is a good idea to attack just after they land, as you'll have a few seconds to retreat before they jump again.