Jump to content
  • Advertisement
  • entries
  • comments
  • views

Movin' On Up

Sign in to follow this  
Jason Z


Article Demo Submitted!
At long last, the article demo has been submitted and is out of my hands. I'm quite happy with how it turned out, but was really surprised about how much time investment it takes to put together a decent demo. So I thought I would do a small post-mortem about the demo to share my experiences. The demo is written in c++ using D3D9 as the rendering API:

I started out with the basic windows code and message loop. It was a simple start and the code was pretty much the same that I have always used for window creation, so that's where I launched from.

After that, I decided not to use my engine to perform all of the rendering. There were two reasons for this:

1. I wanted to include the source code for the demo, and I'm not about to release the source code to the engine that I've been working on for 4+ years!

2. Basic API usage was pretty straight forward and I wanted to keep it simple.

I basically copied parts of my engine's renderer that manage the DX9 API for whatever I needed to add to the demo. This included device creation, vertex declarations, texture loading, font loading, basic drawing operations, etc... You really don't realize how much your renderer does for you until you don't use it!

That part was pretty easy to get working, but just took some time to test out. After that was finished, it was a matter of creating some content for the demo - I'll have to finish that discussion up next time...
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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!