Jump to content
  • Advertisement
Sign in to follow this  
warmsun

what is the best method to learn program a game

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

:mellow: hi ,guys. there seems two way to learn: first one:learn program a game by make myself's game project,when i want to implement something in my game. i read books and find method to implement it. It means that learn by myself's project one step by step second one:read a lot of books but with little coding it out. what is your way to learn program game~ share it with me~:D

Share this post


Link to post
Share on other sites
Advertisement
I learned by first learning basic C and C++ from books, and then downloading the source code to games like Half-Life and making mods for them. After making more and more advanced mods, I eventually learned how most of their game code and their engines worked.

Share this post


Link to post
Share on other sites
I did BASIC on the Spectrum for many years as a kid then found that when I approached C for the first time, a lot of the concepts (variables, control flow, subroutines) were already well established in my head, which made things easier.

I'd recommend learning a simpler language than C or C++ first (Python, VB.NET) to get the basic concepts down in an environment that is a little more forgiving.

As for specifically learning game programming, meh, graphics and user input are the only really specific things. Pretty much everything else is just a case of "programming is programming is programming" so don't ever get put off by seemingly daft database or phone-book examples in books - the concepts translate as well into games as any other area.

Share this post


Link to post
Share on other sites
:rolleyes: I already have some c++ knowledge and have code some APP on something but game. Now, I want to program my own 3d game .But, it seems that program a game is not a small project .To complete a funny game need much knowledge and experience As Hodgmans said, the way to learn from good game project is a good way to learn program a game . who can suggest me some good project to learn?

Share this post


Link to post
Share on other sites

:rolleyes: I already have some c++ knowledge and have code some APP on something but game. Now, I want to program my own 3d game .But, it seems that program a game is not a small project .To complete a funny game need much knowledge and experience As Hodgmans said, the way to learn from good game project is a good way to learn program a game . who can suggest me some good project to learn?


Pong is a good project to start with, work your way up from there, take small steps, not big leaps.(You could still make it using 3D graphics if you want to learn that aswell)

Share this post


Link to post
Share on other sites
It's hard to take small steps, but you must take small steps. Try using SDL or openGL to make a 2D game. Like pong as someone suggested. When you feel you have displaying 2D graphics down, moving them, rotating them, etc etc, then go buy a linear algebra book. Pay special attention to matrix addition, multiplication, and rotation matrices. If you want to learn 3D well I highly recommend the book "Real-Time Rendering: third edition" if you have decent linear algebra and mathematics skills.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!