Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Level Data

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Erick   Members   

122
Like
Likes
Like

Posted 20 December 1999 - 10:32 PM

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


#2 Remnant   Members   

122
Like
Likes
Like

Posted 20 December 1999 - 10:32 PM


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)





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.