Jump to content
  • Advertisement

Archived

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

sigma490

Game Engine Dev

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

I dont want to pay for a engine so i decided to write one for myself, i was wondering if anyone could give me some advice on where to start, what key features would be needed, how to support both direct3d and opengl in different dlls so on and so forth, i am sure i am not the only one with these kind of questions.

Share this post


Link to post
Share on other sites
Advertisement
I think an ''expert'' C++ programmer would know exactly what he would need for his own engine. What type of game do you have in mind?

You''ll always need the basics..rendering and input handling. But being an expert programmer, you probably knew that.

There have been countless topics on the fundamentals of a gaming engine. Use the search button.

Share this post


Link to post
Share on other sites
Give him a break; I think he just meant he was experienced regarding the C++ language. Many posts are from people who don''t know a programming language well.

Anyway, sigma, there''s no need to use separate DLLs while you''re writing the Direct3D/OpenGL code, because it will just take longer to compile. So just keep them in separate .cpp files, it''s good enough. The way to do it is to create a common interface class, from which you derive the Direct3D and OpenGL wrapper classes. Of course, the disadvantage of supporting both APIs is you need to wrap everything, and since the two APIs don''t do things exactly alike, this means your methods have to be somewhat high-level. But I found writing a wrapper to support both was fun.

~CGameProgrammer( );

Share this post


Link to post
Share on other sites
What i meant is i know the c++ language, but i dont know where to start for game programming, i want to make a basic 3d rpg but thanks for the advice, i think i will start off by just getting a basic single api engine running.

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!