Jump to content


Photo

Moving ants in tunnels


  • This topic is locked This topic is locked
2 replies to this topic

#1 Flisch

Flisch

    GMC Member

  • New Member
  • 2 posts
  • Version:GM8

Posted 21 February 2012 - 03:26 AM

First off, I'm sorry if this is the wrong section but it seemed most appropriate.

Now to my problem:
I've been working on an ant game recently. It was inspired by Sim Ant and Dungeon Keeper. Now the thing is, I need the ants to run around my "dungeon" and do the different tasks. The thing is, I need the ants to be able to navigate the tunnels. However the map changes with your actions as you dig out new tunnels and chambers, so I can't work with nodes.

Here's a screenshot of the map: http://i31.photobuck...rliestbuild.jpg

I've tried to look for pathfinding scripts, but they only work with the standard version of GM, and I only have the lite version.

So my question is: Is there a way to make pathfinding as rudimentary as it is work in GM lite or is there at least an alternative to let the ants walk around the map and get stuff done?
  • 0

#2 M_I_Soft

M_I_Soft

    GMC Member

  • GMC Member
  • 198 posts
  • Version:GM8

Posted 23 February 2012 - 12:48 AM

I seem to remember seeing a lite pathfinding example a bit back that adapted when the playing area changed.
In fact I've just found it here - http://sandbox.yoyog...ite-pathfinding
It might be just what you're looking for.

Edited by M_I_Soft, 23 February 2012 - 12:48 AM.

  • 0

#3 Flisch

Flisch

    GMC Member

  • New Member
  • 2 posts
  • Version:GM8

Posted 23 February 2012 - 03:25 AM

Wow, thanks a lot. :D
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users