The Daily Click ::. Forums ::. Klik Coding Help ::. Making enemy come to the player (moves 32 x 32 grid stylishly)
 

Post Reply  Post Oekaki 
 

Posted By Message

EleXor



Registered
  21/01/2003
Points
  269
26th August, 2005 at 15:31:32 -

First of all, have a look at this so you'll understand better:
http://img27.imageshack.us/img27/5720/radixisacake1ps.png
The thingie I need is, when the enemy is shown at the screen, it would come to you
(some of you migh say: simple! do this: turn enemy flag on, enemy flag is on = look at player at 0,0 from, set speed to 15!)
NO WAY in the hell! I want the enemy to move tile a time to the player.
Might be hard to understand, but maybe I'll make a movie of that or something
*EDIT*
Here are the pictures of the process!
1. http://img388.imageshack.us/img388/7893/move11fy.png
2. http://img388.imageshack.us/img388/8038/move20zf.png
3. http://img361.imageshack.us/img361/4820/move38oh.png
4. http://img361.imageshack.us/img361/9495/move42ec.png

Image Edited by the Author.

 
n/a

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
26th August, 2005 at 20:56:16 -

This way is a little slow, but it should be what you need: http://www.sitesled.com/members/unsane/pathfinding-pixelthief.zip

 
http://www.klik-me.com

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
26th August, 2005 at 22:21:53 -

Phizzy: The best kind of bread is cake.

 
n/a

EleXor



Registered
  21/01/2003
Points
  269
27th August, 2005 at 12:22:51 -

'Radix is a cake?! '
yeh

'Phizzy: The best kind of bread is cake.'
indeed
*ninja edit*
That pacman thing is buggy. Doesn't work 100%

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click