Game Development Community

Tile Based Movement

by Do Not Delete · in Torque Game Builder · 03/14/2009 (9:57 pm) · 3 replies

Hey guys,

I was wondering what is the best way to do tile based movement in TGB? I've searched the stuff and most of the stuff I found required me to have a purchased liscense to view the content. I'm using the trial version of TGB and I don't have a liscese.

So if anyone can help, that would be awesome.

Thanks,
Dro Sarhadian

#1
03/15/2009 (7:51 am)
Basically, you'd have to consider that each tile has it's own coordinate, right? So every time you move, you move to the next tile's coordinate. Whether you hold the button to keep moving along tiles or if you just press it once per tile movement, the basic concept is the same.
#2
03/15/2009 (9:44 am)
Are there any code examples or something to get me started?

Code-wise, where should I look first?
#3
03/16/2009 (4:04 pm)
Just a bump. Was wondering if anyone had any code examples or something I can use.