Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

ND Engine

Sign in to follow this  


I figured I might as well post a pic of the engine before I tear it all apart for the revamping.

It really is much faster than 85 fps! I currently have V-Sync enabled to prevent tearing.

So as you can see, it's not too terribly complex. There was actually a newer version with lighting but it got lost when my laptop hd crashed.

It has a pretty cool setup to where you request handles to objects from the engine itself. Such as if you wanted to write some text, you would do the following:

// When initializing...
HTEXT *pText = new HTEXT();

pEngine->getHText( 15, "Comic Sans MS", pText );
pText->setColor( 255, 255, 0 );

// When rendering...
pText->setPos( 10, 10 );
pText->drawText( "ND Engine Demo" );

// The game accessible render function is going to be removed
// in the up coming version so the engine will
// care for the order of drawing.

It really added a nice layer of seperation from the engine to the game. There could be many public functions in the actual CText class that the engine could access, but the game itself could only access those members exposed by the handle.

This ideally was going to follow suit with models, lighting (which it did) and all other objects in the engine.

I may still take this route during the revamp, we'll just have to see.

Thanks again for looking!
Sign in to follow this  


Recommended Comments

Wow, that looks pretty neat and tidy. I ask for a font in my engine like so:

dftlib::Font* pFont = new dftlib::Font("FontBmp.bmp");

And it returns:
From my mean ass engine
You want a font huh? WHY DON'T YOU GO GET YOUR OWN F***ING FONT!!!

It makes me cry [sad]

But seriously, keep up the good work!

Share this comment

Link to comment

Glad I have someone checking in on my Journal like you. It's nice to see someone post with a sense of humor and helpful comments.

Thanks again for the support!

Share this comment

Link to comment
Well. Not a lot of advice I can give, but it looks real clean. Looking good! :)

Share this comment

Link to comment

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!