checkpoints -i wanna tell you how to

Talk about making games.

checkpoints -i wanna tell you how to

Postby Wolly08 » Fri Jul 27, 2007 7:25 am

i have just found out how to make a checkpoint and i really want to share it with you all
first you make an actor (player) and a checkpoint actor (checkpoint) make an event- player collision on any side if actor check point there are two things you can do A) make your check point very high so that the actor cant possibly jump over it and make all the 'monsters' on the other side of it do this event- player collision on any side of actor monster destroy actor player and create actor player on codinetes (put the coordinates of the checkpoint here and make sure you select no on relative to creator(put your mouse over the checkpoint and at the top of the screen (where the options are eg path new actor you will see the coordinates (x axis on the left Y on the right))))or you can just move the actor the the coordinates(this will keep the points) 8)
Wolly08
 
Posts: 39
Joined: Wed Jul 25, 2007 8:34 pm
Score: 2 Give a positive score

B

Postby Wolly08 » Fri Jul 27, 2007 7:31 am

B would be much simpler all you have to do is to make a checkpoint that is any size you want and make an event- actor collission on any side of actor checkpoint destroy actor player(this may not work i havnt tested it yet)(if it dosent then just set the transparancy to full(make the actor invisible) and create an actor player2 who inherites events from player and has the same animation 8)
Wolly08
 
Posts: 39
Joined: Wed Jul 25, 2007 8:34 pm
Score: 2 Give a positive score

Postby Oman » Fri Jul 27, 2007 2:50 pm

ok... well, what i do is...

1. (checkpoint) collision an any side of player -> Script Editor
make a var called xpos, and one called ypos and save them in a save group called saves
Code: Select all
xpos = x;
ypos = y;
saveVar("game","saves");


2.then on destroy actor of player -> script editor
Code: Select all
loadVar("game","saves");
x = xpos;
y = ypos;


I think thatll work :)
"Beyond a wholesome discipline, be gentle with yourself." - Max Ehrmann
User avatar
Oman
 
Posts: 268
Joined: Tue Oct 31, 2006 4:00 am
Location: Somewhere out there...
Score: 6 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron