Game Levels

Talk about making games.

Game Levels

Postby nz17 » Fri Dec 05, 2003 12:30 am

Makslane, in the documentation for GE, you mention that Activation Regions can be used to make multiple levels in a game. Could you explain how this would work?
User avatar
nz17
 
Posts: 25
Joined: Wed Oct 08, 2003 8:36 pm
Location: Vernal, UT, USA
Score: 0 Give a positive score

Postby makslane » Fri Dec 05, 2003 1:02 am

Imagine a platform game with 2 levels.
Put the two levels in the same. ged, but with different actors for the scenery (background...)

Now it is enough to define an Activation Region for the first level and other for the second.

When the executable of the game be created and running, only the actors of the first level (in the first Activation Region) will be loaded, as if they were separate files.

When your view intercepts the second Activation Region, the actors inside it will be loaded automatically.

When the view doesn't intercept more the first activation region, the not visible actors will be destroyed.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Ah Ha!

Postby nz17 » Fri Dec 05, 2003 6:55 am

Thus making the game run better because it is using less resources and things off-view are not trying to intercept what is on-view. Thanks a lot Makslane -- this is really going to help my "Documentation Project" and game. Your explanation has cleared away my confusion.
User avatar
nz17
 
Posts: 25
Joined: Wed Oct 08, 2003 8:36 pm
Location: Vernal, UT, USA
Score: 0 Give a positive score

Postby makslane » Fri Dec 05, 2003 8:12 am

Really, with Activation Region concepts, the multi level game works like a multi file game and it's made without a multi level editor.

Just delimit your levels with Activation Region.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron