On each platform, make two image points, one at the top-left, the other top-right. When it touches one of those, reverse its direction.
When the player hits an invisible radius pinned to the enemy, destroy the player. Let me know if this doesn't work.