Thanks :DProviding your blocks are of uniform size you can use a simple distance check which will create a circle around the enemy in which it would follow the player. The example posted above assumes 1 block is 1 pixel which is likely not the case, you'll need to multiply the 10 by the length/width/size of one of your blocks.
cowcow888
Member Since 18 Mar 2012Offline Last Active Apr 04 2012 10:30 PM



Find content
Not Telling
