When tile-based worlds collide...

Blitz3D Forums/Blitz3D Programming/When tile-based worlds collide...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Whenever a i did tile based games, i just checked to see whether the player/enemy was overlapping a new tile or not. If the new tile wasn't walkable, then move the player/enemy back to it's co-ords before it moved.