Jump to content
  • Advertisement

Archived

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

kareth

How to do this, anyidea?

This topic is 6192 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

Okay i got this idea about 2D/3D game-engine. The basic idea is that the background is 2D pre-created or created-on-fly by components and moving objects 3D. I think that best way is to create 3-layers. Firstone is graphic-layer ,second is bouncin-layer which is invisible and 3D-layer. So the result would be like in Baldur''s Gate. So is it wise to use 3 different datafiles or should i make just one file which has data for level? Would it be hard and could i use Direct3D or do i have to make some code that convert 3D-model for DirectDraw?

Share this post


Link to post
Share on other sites
Advertisement
This really should be in a graphics programming forum, so I''m moving it there.

People might not remember what you said, or what you did, but they will always remember how you made them feel.
Mad Keith the V.

Share this post


Link to post
Share on other sites
I''m not totally sure what you''re talking about but I''ll give it a shot. My suggestion is split it up into 3 files but make sure that every entry in each file has corresponding entries in the other files, if there''s one missing leave it blank. That way you can efficiently load data from all 3 files using random access files.

Also, it might be easier to code if you left some kind of abstraction between layers so there''s seamless integration and not tons of layer details all coded seperately.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you put the different layers into different files, you''re just begging for versioning problems. There are sometimes good reasons to use different files, especially if you''re programming for multiple architectures, but something like this just cries out for a single datafile.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!