Archived

This topic is now archived and is closed to further replies.

Level Data

This topic is 6570 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


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)

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites