Page 1 of 1

Only walk on tiles

PostPosted: Mon Apr 24, 2006 6:58 am
by WauloK
I have an idea for a game. I want to make a set of tiles for a character to walk on and the rest of the screen is just background which he doesn't walk on.
I'm trying to think of the best way to do this in GE. That is, I have the tiles as actors (or tiles?) on the screen to walk on and the character ONLY walks on these tiles.
I spose I can make an array showing what tiles are where, but maybe there's another easier way.

PostPosted: Mon Apr 24, 2006 8:35 am
by Fuzzy
There sure is. Use wireframe actors and collision detection against them to limit movement.

PostPosted: Mon Apr 24, 2006 12:05 pm
by DilloDude
Or make another set of tiles where you don't want to be able to walk, and either put a background on them or make them invisible.

PostPosted: Mon Apr 24, 2006 12:31 pm
by WauloK
DilloDude wrote:Or make another set of tiles where you don't want to be able to walk, and either put a background on them or make them invisible.

Yea I thought of this one. Might be the way to go :) tnx