Levels
Posted: Mon Feb 20, 2006 6:14 pm
Hi guys I was wondering how i make levels in the game not just one huge game. Can sombody help me on that? Would be appreciated!!!!
x = 2588;
y = -2100; //this x and y coordinates tell where the actor will be after collision.
tekdino wrote:
- Code: Select all
x = 2588;
y = -2100; //this x and y coordinates tell where the actor will be after collision.
x = NextLevelStart.x;
y = NextLevelStart.x;
Player.savepoint=Player.savepoint+1;
CollisionState("Event Actor", DISABLE);
Player.x = Xarray[Player.savepoint];
Player.y = Yarray[Player.savepoint];
x=filledregion.x;
y=filledregion.y;
view.x=filledregion.x-200//The center of the view actor is the top-left corner-use half the view's width instead of 200
view.y==filledregion.y-100//see above