hi and thanks for replying.
i made a new experiment, and got a little further(still not completely satisfied though).
heres the .cap:
http://dl.dropbox.com/u/11157144/enemy-behav.cap
so now the enemy stays on his platform and chases the player,but theres some annoying issues:
first, theres some really ugly random jerking,when the enemy changes direction
second, when you encounter the first enemy near the second, the second one rushes from his platform towards the player,id like to avoid that.i know the problem is because the player is already overlapping the enemyblock sprite,when the second enemy sees him, i just dont know how to fix that.
the third enemy is just weird,because the player is approaching from below,and i dont really know how to best handle that situation smoothly.
anyone up for a challenge n give some hints?