Jump to content
  • Advertisement
Sign in to follow this  
Oliviero Nardi

Learning 3D and physics.

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

Hi people.

I'd like to try to make an indie game.
I'm 16 years old and I'm pretty confident with low-level coding (I've made some console 2D games like snake and a nethack clone) and also with autocad designing. But I do not know how to... well to get started. I do not know how to make models, animations, and how to manage physics and audio. Basically I do not know how to start making a game but I know coding. Inspired from thedarkmod, I'd like to make a stealth game so I need to put my efforts in the AI and in the light/audio systems. Regarding the AI, I know little to nothing about that, I've just made a simple actor on the nethack clone but I don't know how to make all that complex 3D stuff.
But for now I'd like only to make a simple game engine to learn a bit. How do I start? Are there any free open source programs? What do I need?

edit: I also know how to code with python, if that may be useful.
edit 2: I am also already improving my maths skills with khanacademy.
edit 2b: may I also ask how much time (considering that I can work about 2.5 hours a day everyday) will it take to have the first playable builds? (more or less...)
edit 3: just to make this clear: I know how to code but I don't know anything about *game* coding. I do not know neither the libraries nor everything else.

Share this post


Link to post
Share on other sites
Advertisement
if you want to make a game engine you will have to learn c++ and make some console games, then move to using an engine (like cryengine) to make games, then move to making games without an engine using libraries like directx, physx/bullet, ogre3d, havok AI etc., (if manage step 3) you have your engine. After these, you should know how to make it.

For 3d stuff, check out blender, it's free and open source.

Share this post


Link to post
Share on other sites

Wow! Thanks for the long and detailed answer!
Since I am not interested into making a game (ie: campaign, story, etc) I think that I'll try to make my very own engine. I already know OOP but I have no idea how to implement physics. Do I need some extra libraries/APIs/Tools or is it all about coding?

 

edit: even if my final objective is to make a game, right now I'm only interest in developing my skills. It's more about learning right now.

Edited by GarrettTheThief

Share this post


Link to post
Share on other sites

Wow! Thanks for the long and detailed answer!
Since I am not interested into making a game (ie: campaign, story, etc) I think that I'll try to make my very own engine. I already know OOP but I have no idea how to implement physics. Do I need some extra libraries/APIs/Tools or is it all about coding?
 
edit: even if my final objective is to make a game, right now I'm only interest in developing my skills. It's more about learning right now.

Looks like you want to do what i want to do. Khan Academy teaches physics right? If you are looking for a physics library, from my previous post, physx/bullet/havok/ode/newton (make a choice, for the graphics api, directx (windows)/opengl, rendering, ogre3d, for the engine gui -> Qt and game ui -> cegui etc.
Wait a minute.

Share this post


Link to post
Share on other sites
Wow! Thanks for the long and detailed answer!

Since I am not interested into making a game (ie: campaign, story, etc) I think that I'll try to make my very own engine. I already know OOP but I have no idea how to implement physics. Do I need some extra libraries/APIs/Tools or is it all about coding?

 

It really depends. There are API's like Box2D and Bullet that you could use to implement physics or you could code it yourself. When it comes to implementing physics you generally have two aspects to look at. Detecting a collision and resolving the collision. Now before you can start with your 3D physics you're going to need to do 2D. 

 

Now there are thousands of ways to to implement a physics engine and even more ways to optimize them. I am not too experienced when it comes to physics and I don't want to give advice that is above my skillset so I will provide you with some links that I have used to implement physics. Most of the material is the same but covered in another way or maybe with more details, by studying all of these you'll hopefully be able to understand how a possible implementation could look.  Hope it helps. 

 

http://gamedevelopment.tutsplus.com/tutorials/collision-detection-with-the-separating-axis-theorem--gamedev-169

http://gamedevelopment.tutsplus.com/tutorials/create-custom-2d-physics-engine-aabb-circle-impulse-resolution--gamedev-6331

http://www.wildbunny.co.uk/blog/2011/04/06/physics-engines-for-dummies/

http://www.wildbunny.co.uk/blog/2011/12/14/how-to-make-a-2d-platform-game-part-2-collision-detection/

 

A lot of theory: http://buildnewgames.com/gamephysics/

 

As I said earlier the key thing is to do a lot of research, whenever you find a nice website/link. Bookmark it so that you can come back to it later.

 

EDIT:

 

Also, to really understand these you are going to need to be familiar with vector math:

http://www.wildbunny.co.uk/blog/vector-maths-a-primer-for-games-programmers/vector/#Magnitude

Edited by PragmaOnce

Share this post


Link to post
Share on other sites

 

Wow! Thanks for the long and detailed answer!
Since I am not interested into making a game (ie: campaign, story, etc) I think that I'll try to make my very own engine. I already know OOP but I have no idea how to implement physics. Do I need some extra libraries/APIs/Tools or is it all about coding?
 
edit: even if my final objective is to make a game, right now I'm only interest in developing my skills. It's more about learning right now.

Looks like you want to do what i want to do. Khan Academy teaches physics right? If you are looking for a physics library, from my previous post, physx/bullet/havok/ode/newton (make a choice, for the graphics api, directx (windows)/opengl, rendering, ogre3d, for the engine gui -> Qt and game ui -> cegui etc.
Wait a minute.

 

I'll check those out and see if I'm able to use them. Thanks! 
 

 

 

 

Wow! Thanks for the long and detailed answer!

Since I am not interested into making a game (ie: campaign, story, etc) I think that I'll try to make my very own engine. I already know OOP but I have no idea how to implement physics. Do I need some extra libraries/APIs/Tools or is it all about coding?

 

It really depends. There are API's like Box2D and Bullet that you could use to implement physics or you could code it yourself. When it comes to implementing physics you generally have two aspects to look at. Detecting a collision and resolving the collision. Now before you can start with your 3D physics you're going to need to do 2D. 

 

Now there are thousands of ways to to implement a physics engine and even more ways to optimize them. I am not too experienced when it comes to physics and I don't want to give advice that is above my skillset so I will provide you with some links that I have used to implement physics. Most of the material is the same but covered in another way or maybe with more details, by studying all of these you'll hopefully be able to understand how a possible implementation could look.  Hope it helps. 

 

http://gamedevelopment.tutsplus.com/tutorials/collision-detection-with-the-separating-axis-theorem--gamedev-169

http://gamedevelopment.tutsplus.com/tutorials/create-custom-2d-physics-engine-aabb-circle-impulse-resolution--gamedev-6331

http://www.wildbunny.co.uk/blog/2011/04/06/physics-engines-for-dummies/

http://www.wildbunny.co.uk/blog/2011/12/14/how-to-make-a-2d-platform-game-part-2-collision-detection/

 

A lot of theory: http://buildnewgames.com/gamephysics/

 

As I said earlier the key thing is to do a lot of research, whenever you find a nice website/link. Bookmark it so that you can come back to it later.

 

 

Thanks a lot! I'll read them and see if I'm able to code one myself. Otherwise, I'll use some of those APIs.

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!