Page 1 of 1

Enter new area

PostPosted: Thu Feb 22, 2007 1:42 am
by UltimatHedgehog
im making a game and you get a key when you beat an area and everything is one big world except for the final level which opens a secret entrace when u have all keys.
how do i make it go to a diferent areawhen i colide with the doorway?
*ow my fingers!*

PostPosted: Thu Feb 22, 2007 1:59 am
by Sgt. Sparky
when you collide with the doorway just have this
Code: Select all
x = TheNextAreaStartingLocation.x;
y = TheNextAreaStartingLocation.x;

and same for an actor that the view fallows that is always at the center of the view :D
ot just make each area a seperate game that loads dieferent areas for diferent doorways :)

PostPosted: Thu Feb 22, 2007 2:10 am
by UltimatHedgehog
so what do i put around the last level that has that name so it Knows what to go to

PostPosted: Thu Feb 22, 2007 2:26 am
by Sgt. Sparky
accually it is "what do you put near the last level?"
make an actor Called FinishStart,
on the create actor event it's visibility is do not draw but allow events.
:D
so just make the x and y = that actor's x an' y
:D :D :D

PostPosted: Thu Feb 22, 2007 2:37 am
by UltimatHedgehog
thnx i got it now i works when i touch the entrance youre sent to last area

PostPosted: Thu Feb 22, 2007 2:37 am
by Sgt. Sparky
you are welcome! :D