Providing 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.
cowcow888Member Since 18 Mar 2012
Offline Last Active Apr 04 2012 10:30 PM
- Group New Member
- Active Posts 4
- Profile Views 118
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
cowcow888 hasn't added any friends yet.