How do you make tiles impassable after the player leaves it?

Talk about making games.

How do you make tiles impassable after the player leaves it?

Postby editor2s » Mon Jun 04, 2007 6:03 pm

I'm making a game that when the player steps on a certain tile, when he leaves it, it will collapse and cannot be passed on again. Please help me do it.
editor2s
 
Posts: 3
Joined: Wed May 30, 2007 6:03 pm
Score: 0 Give a positive score

Postby d-soldier » Mon Jun 04, 2007 8:12 pm

Add a "COLLISSION FINISH" event to the tile, which after the collision with the PLAYER is finnished (he steps off) it:Moves-to (a lower Y coordinate); follows a path (goin down); etc. For this to work, the "tile" needs to be a seperate actor then the level-tiles you may or may not be using, so it can have these events.
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron