levels????????

Game Editor comments and discussion.

levels????????

Postby master0500 » Thu Jul 07, 2011 4:24 am

anyone now how to make levels move to the next when you finish a level :? :? :?: :? :?
master0500
 
Posts: 409
Joined: Sun Jun 26, 2011 9:42 pm
Score: 27 Give a positive score

Re: levels????????

Postby skydereign » Thu Jul 07, 2011 5:46 am

It depends on how you want to make the levels, and how you make the levels depends on your game... but the easiest method would be to move the player actor and the view actor to wherever you put the second level, so something like this.
player -> Collision with warp -> Script Editor
Code: Select all
x=1000;
y=0;
view.x=1000-view.width/2;
view.y=-view.height/2;


This assumes the player should start the next level at position (1000, 0) in the editor.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: levels????????

Postby foleyjo » Fri Jul 08, 2011 12:45 pm

or if you want to use multi -load levels use the loadgame command and enter the filename of the next level.

You will also need to make sure you save and load any variables that are passed over to the next level such as Score and Lives
KISS -Keep It Simple Stoopid
foleyjo
 
Posts: 275
Joined: Mon Jul 09, 2007 1:15 pm
Score: 15 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest