The Daily Click ::. Forums ::. Klik Coding Help ::. Making mobster to find path to the player and walk there
 

Post Reply  Post Oekaki 
 

Posted By Message

EleXor



Registered
  21/01/2003
Points
  269
30th June, 2006 at 06:05:18 -

Well, sounds easily and I think most of you would suggest something like alarm is on -> look at player (0,0) and set speed to 15.
Doesn't work in this case.
I probably have posted this earlier and I'm not sure if I did get the help I needed.
Here is the picture of the game, it's kind like ultima fan game or something:
http://img223.imageshack.us/img223/7910/cake7ew.png
The problem is, it is grid based and mobsters / player obey the 32 x 32 grid, and they can move to 8-directions.
I was thinking something like pixelthief's pathfinder. However, it wouldn't work either very well because I will have 10 mobsters on the screen sametime and they must walk to the player ;/
TB-combat would be easy to make, but I'm not a huge fan of it.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
30th June, 2006 at 06:33:54 -

You can use one of the various pathfinding extensions. Search the clickteam forums for examples on them. This is probably the best one I've seen:
http://www.clickteam.com/CTforum/showflat.php3?Cat=&Board=upload&Number=169920&page=&view=&sb=&o=&vc=1
It uses the pathfinding object (I think).

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

EleXor



Registered
  21/01/2003
Points
  269
30th June, 2006 at 08:10:47 -

I really have no clue how to use the extension, and I have looked at the example by the author of the extension.
Here is a video I made, it shows what I want (once it finds the path it does like this):
http://media.putfile.com/dad-89

Oh, and it's the pathfinder object by Z something

Image Edited by the Author.

OH, wait, I didn't notice your link had an attachment on left!
Thanks, this is what I'm looking for (have to make them obey grid system tho).

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click