Jump to content
  • Advertisement
Sign in to follow this  
StewartStevenson

Help with Start either make own game engine .........

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

hey people im new to the whole c++ thing but im willing to be 100% dedicated


i was wondering if anyone could give me a template i could start of with to get me going with c++ or templates with description on the c++ coding so i no what each bit stands for im planning to make my own game engine but that is obviously not gonna happen for a long time so i better get starting now cheers for the help

Share this post


Link to post
Share on other sites
Advertisement
Building an engine and learning to code C++ are a bit far apart. You'll have to know C++ fluently in order to build a proper system, the rendering part is just getting to know the OpenGL or Direct3D API.

Start off with basic C++ books and/or guides, they will guide you through the C++ learning process, to learn something like OpenGL you might want to take a look at the NeHe tutorials: http://nehe.gamedev.net/

Learning C++ you could start here: http://www.learncpp.com/ or some more guidance from http://www.cplusplus.com/doc/tutorial/

Learncpp also teaches OOP which is something you'll need for game development. You might also want to take a look at DOP but get your C++ going first,
good luck!

Share this post


Link to post
Share on other sites

Building an engine and learning to code C++ are a bit far apart. You'll have to know C++ fluently in order to build a proper system, the rendering part is just getting to know the OpenGL or Direct3D API.

Start off with basic C++ books and/or guides, they will guide you through the C++ learning process, to learn something like OpenGL you might want to take a look at the NeHe tutorials: http://nehe.gamedev.net/

Learning C++ you could start here: http://www.learncpp.com/ or some more guidance from http://www.cplusplus.com/doc/tutorial/

Learncpp also teaches OOP which is something you'll need for game development. You might also want to take a look at DOP but get your C++ going first,
good luck!




Hey thank you very much thats really handy so i should start learning c++ first all the way up to advanced till i no fluently then i should try adding some opengl or dirext3D then oop then dop ...... what about physics engine and graphics engine ???? also im quite a fast learner on average how long would it take me to learn all this stuff from scratch ?


Share this post


Link to post
Share on other sites

hey people im new to the whole c++ thing but im willing to be 100% dedicated


i was wondering if anyone could give me a template i could start of with to get me going with c++ or templates with description on the c++ coding so i no what each bit stands for im planning to make my own game engine but that is obviously not gonna happen for a long time so i better get starting now cheers for the help


Try not to focus on that engine too much, if you're new to C++ it'll take years before you'll be able to build it since you need to know exactly what is expected of every component and how you should implement these
I would go on to learn C++ the way most people do, start off with a hello world application and do a bunch of tutorials, from there on you can start writing games
At that point you just keep on writing game after game, the first ones will all be pretty horrible, so don't think you'll be writing any high quality games soon
Through this process you'll gather experience on different types of games and what these games require; you'll also end up with a lot of code that will be reusable for other game projects
Bundling this code together in a single library provides a base on which you can eventually build your engine, and hopefully at this point you'll have the knowledge and expertise to implement all your engine components

Share this post


Link to post
Share on other sites

[quote name='daretobe12' timestamp='1319218344' post='4875085']
hey people im new to the whole c++ thing but im willing to be 100% dedicated


i was wondering if anyone could give me a template i could start of with to get me going with c++ or templates with description on the c++ coding so i no what each bit stands for im planning to make my own game engine but that is obviously not gonna happen for a long time so i better get starting now cheers for the help


Try not to focus on that engine too much, if you're new to C++ it'll take years before you'll be able to build it since you need to know exactly what is expected of every component and how you should implement these
I would go on to learn C++ the way most people do, start off with a hello world application and do a bunch of tutorials, from there on you can start writing games
At that point you just keep on writing game after game, the first ones will all be pretty horrible, so don't think you'll be writing any high quality games soon
Through this process you'll gather experience on different types of games and what these games require; you'll also end up with a lot of code that will be reusable for other game projects
Bundling this code together in a single library provides a base on which you can eventually build your engine, and hopefully at this point you'll have the knowledge and expertise to implement all your engine components
[/quote]


the only problem is iv seen the tutorials then comapred them to game engines they look nothing alike and i keep thinking to my self whats the point in learning this basic stuff if its not even going to help me but i spose i have no choice really ..... um do you noo much about physics engine and graphics engines i no like u have graphics enignes for the the actual game the game engine is like the glue that puts everything together and the physics engine is what gives movment i think anyway

Share this post


Link to post
Share on other sites
Look at it like this:

Say you want to build a building, and not just any regular building, but you want to build a skyscraper
How would you go about this? You would probably start out by learning something about construction, how to weld, how to build walls, how to use the correct materials, how to plan everything out, etc.

This is exactly the same as building an engine, or any complex project for that matter. If you don't know all those small simple things required to build it, how in the world are you going to complete such a project?
Those small things you think are unrelated to engine or game development actually are very much related to them; programming is not a field where you can just go in and create something absolutely amazing from day 1, and in fact it is somewhat insulting to those who have been programming for years and who have gone through such heavy learning processes when you say "I don't want to learn these basic things because they don't immediately allow me to build an extremely complex project"

Programming is a skill, and it can be a very hard one at that, if you can't accept the fact that you need to start learning from the ground up by taking babysteps just like everyone else, then you're probably not fit to become a programmer, let alone a programmer who can build an engine on his own

Share this post


Link to post
Share on other sites
OOP is a pretty basic programming concept, and is practically the main type of programming you would use for a complex game engine.

You're basically saying you want to fly before you even grow wings first.

Share this post


Link to post
Share on other sites
Build games. Or tech demos.

You can't really build a game engine by yourself :D The easy part is looking at DirectX tutorials and getting triangles drawn, shadows working, that kind of stuff. The hard part is integrating all the components, making it robust, and working out an asset pipeline. It's an enormous amount of work.

Without the hard parts it's just a somewhat lame (i.e. nothing new) tech demo. Why not set your expectations properly when you start out? :)

Focus on creating new rendering approaches, previously unseen physics interactions, ...that kind of stuff.

If you just want to experiment without writing a ton of stub code try out
http://hieroglyph3.codeplex.com/
or
Framework 3 from http://www.humus.nam...dex.php?page=3D

Share this post


Link to post
Share on other sites

the only problem is iv seen the tutorials then comapred them to game engines they look nothing alike and i keep thinking to my self whats the point in learning this basic stuff if its not even going to help me but i spose i have no choice really ..... um do you noo much about physics engine and graphics engines i no like u have graphics enignes for the the actual game the game engine is like the glue that puts everything together and the physics engine is what gives movment i think anyway


The word Engine is quite loosely defined, a Game Engine is a set of code and tools that can be shared between multiple games, a Physics engine is more specialised and only deals with physics and a Graphics engine with graphics. (Graphics is separate from the game, Graphics is a way to communicate the current state of the game to the player).

Engines in general didn't really exist in the past, they are mostly the result of games becoming more complex and as such increasing the need for reusable components that can be shared between games in order to cut development costs.

As for "The basic stuff" , thats pretty much what programming is all about, the computer only understands basic stuff, its the programmers job to create advanced applications using that basic stuff.

The only thing from the "basic" c++ tutorials you probably won't use directly in games is std::cout and std::cin (you'll use other streams though which work in exactly the same way)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!