The Daily Click ::. Forums ::. Klik Coding Help ::. Grid System
 

Post Reply  Post Oekaki 
 

Posted By Message

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
12th November, 2007 at 01:16:37 -

To be honest Im not really using a Grid based movment system in my game and im pretty sure if I put enough effort on it, I can understand how to do it. But since I havent got that kind of time and I also wanna learn how to do it, would someone post a link to a tutorial or show me how its done?

Also, I discovered a weird thing about the timer object. For some reason, once you reset the value, you cant run loops. Weird, eh?

Image Edited by the Author.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

Dave S.



Registered
  26/09/2003
Points
  924
12th November, 2007 at 05:26:32 -

Try this link... http://www.create-games.com/article.asp?id=1347 or just do a search for 'grid movement' or something similar.

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
12th November, 2007 at 05:31:54 -

http://aggggge.funpic.org/gridmovement.mfa

Now just add collision detectors and you're there!

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
12th November, 2007 at 10:46:45 -

The thing about grid movement is that you need to do collision detection before you do the movement.

 
My signature is never too big!!!

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
12th November, 2007 at 11:23:05 -

No big difference, you can do it in any order you like. I usually implement collision detection/response after I've got the movement working. It's as easy as adding a few extra conditions to the movement code anyway.

 
n/a

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
12th November, 2007 at 17:19:47 -

thank you but im afraid I didnt explain my question properly. I meant using the easy grid object. how do you do pathfinding n all in it?

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
12th November, 2007 at 17:28:34 -

I haven't used the Easy Grid object, so I don't know how it works. Have you tried the Pathfinding object? It's fairly easy to use.

 
n/a

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
12th November, 2007 at 17:50:40 -

no, I have it tho. can you post an example cca of it?

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
13th November, 2007 at 23:44:05 -

ahh, no one wants to i suppose.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!
   

Post Reply



 



Advertisement

Worth A Click