Advertisement

Level Data

Started by December 21, 1999 04:32 AM
0 comments, last by Erick 24 years, 11 months ago
Hi there All

Just a quick question

I have several ways of loading level data
but I am wanting to know which way would be the best.

To hold all level data in a single file eg
Level1.dat ( inc. graphics, artifacts, map structure etc. )

Or should some be hard-coded into certain classes eg ( artifacts enemies etc..)

The advantage I know of grahics being stored withing a Level file is that your graphics are hidden from the user
the disad is that it makes for rather big level file.

What is the norm with this respect

Thanks

------------------
Erick


It depends on how you design your levels, but generally there's a lot of graphical overlap between levels.

I think your best bet is to have all your graphical files be seperate from the level info. The level should specify which sprites and graphics are needed, which you will then load up for use. This allows for much smaller level files and easy reuse of graphics.

Without knowing more details about your project, I can't really go into more deph. Hope that helps.

------------------
- Remnant
- (Steve Schmitt)

- Remnant- (Steve Schmitt)

This topic is closed to new replies.

Advertisement