Advertisement

Beginning with game development

Started by January 18, 2018 07:49 PM
10 comments, last by desiado 6 years, 10 months ago

Hi everyone, my name's Giusto and this is my first post in this forum
First of all sorry for my english but i'm from italy so i might go wrong in some words
I would like to start programming games, like a lot of people, but i would like to program them litterly and not using something like Unity even if i know it would help a lot
I'm a student, i'll take the diploma in 2 year, i'm studing to program at school, i know basic c++, java and javascript but i would learn more about game programming

So my question is simple, which language should i learn? I know that C++ is used a lot as well as java

Where could i learn some function or things based on games

I listen to all hint that you give me, thank you for reading all this, this means a lot for me :)

If you know c++ pretty well then go with that, else pick an easier language is what I recommend.  c# or java are easier and will also teach you object-oriented style programing.  

There was a thread just a few threads down from yours with a similar type of 'where do I start programming games type question'  I suggest reading that for starters.

 

Advertisement

Thank you for reply, i know something about object in java, in c++ i never used one
But i'll check the thread, thank you a lot

 

Sounds like you're very new to programming. Just learn how to program anything for now, not necessarily games. Do the core learning of the language until you have learnt all the syntax, writing classes, creating objects and calling methods on them etc..  Once you are getting more competent in a language like c# or java, then think about making a simple game. Good luck

 

For now i know the syntax, classes, object ecc

I can programm something but i would like to program something visual, even if not a game

7 minutes ago, Giusto Piedimonte said:

For now i know the syntax, classes, object ecc

I can programm something but i would like to program something visual, even if not a game

I usually post this for new C++ programmers before they start making games.

  • Compiling, building
  • Basic program structure (main(), header includes ...)
  • Basic data types
  • Composite data types
  • Control structures (if, for, while ...)
  • Basic functions, function signatures
  • Function parameter passing
  • Classes and general OOP
  • STL - Standard Template Library
  • Dynamic memory allocation, pointers
  • Type casting
  • Advanced OOP, inheritance, polymorphism
  • Advanced program structure, header files, linking
  • Debugging techniques This is important to be able to help yourself when the situation arises.
  • Templates
  • Operator overloading
  • Namespaces
  • Move semantics and other C++11 features
  • Metaprogramming

Once you know how to do all of the above, then I would advise actual game programming. You can still learn all the above in "game like contexts". I learned to program in C++ by making text games.

You will want to stick with just one language for now. Pick up a good book, and get learning.

Keep in mind, if you jump into game programming right away it will be frustration after frustration. Game programming in itself can be a very daunting task, and also takes a lot of time to master the craft. You'll do yourself a big favor by learning general programming first, then game programming.

Programmer and 3D Artist

Advertisement
2 minutes ago, Rutin said:

I usually post this for new C++ programmers before they start making games.

  • Compiling, building
  • Basic program structure (main(), header includes ...)
  • Basic data types
  • Composite data types
  • Control structures (if, for, while ...)
  • Basic functions, function signatures
  • Function parameter passing
  • Classes and general OOP
  • STL - Standard Template Library
  • Dynamic memory allocation, pointers
  • Type casting
  • Advanced OOP, inheritance, polymorphism
  • Advanced program structure, header files, linking
  • Debugging techniques This is important to be able to help yourself when the situation arises.
  • Templates
  • Operator overloading
  • Namespaces
  • Move semantics and other C++11 features
  • Metaprogramming

Once you know how to do all of the above, then I would advise actual game programming. You can still learn all the above in "game like contexts". I learned to program in C++ by making text games.

You will want to stick with just one language for now. Pick up a good book, and get learning.

Keep in mind, if you jump into game programming right away it will be frustration after frustration. Game programming in itself can be a very daunting task, and also takes a lot of time to master the craft. You'll do yourself a big favor by learning general programming first, then game programming.

Thank you for reply
I learned C++ at school, and now we changed teacher and we are doing java and with other teacher html, css and javascript
But i would like to focus on C++ because it's more used on professional place
I'll learn all these things for now
I already had an idea for something textual so i have were to work
I won't like to go right to game development, but in something game oriented

You'll find once you've become pretty experienced in C++, it's very easy to pick up languages. I had a project I needed to do for a client, and they needed it done in another language I didn't know at the time. Only took a few days to finish the project once I reviewed the rules, syntax style, and how the libraries I needed to use worked. The principles and concepts behind programming is completely transferable. I already use 7+ languages thanks to C++.

Enjoy the experience, it's extremely rewarding to see your creations come to life.

Programmer and 3D Artist

For most people I would recommend Unity unless you like Unreal Engine better. But for those that don't want to use an engine and love the self torment of writing things themselves, like I do, I recommend LearnOpenGL.com. With OGL and C++ you are doing things pretty much from scratch and that website seems to have some really great tutorials. Since you are already comfortable with C++ that should be okay. Unreal Engine also uses C++.

8 hours ago, Rutin said:

You'll find once you've become pretty experienced in C++, it's very easy to pick up languages. I had a project I needed to do for a client, and they needed it done in another language I didn't know at the time. Only took a few days to finish the project once I reviewed the rules, syntax style, and how the libraries I needed to use worked. The principles and concepts behind programming is completely transferable. I already use 7+ languages thanks to C++.

Enjoy the experience, it's extremely rewarding to see your creations come to life.

Thank you for your advice
 

 

8 hours ago, BBeck said:

For most people I would recommend Unity unless you like Unreal Engine better. But for those that don't want to use an engine and love the self torment of writing things themselves, like I do, I recommend LearnOpenGL.com. With OGL and C++ you are doing things pretty much from scratch and that website seems to have some really great tutorials. Since you are already comfortable with C++ that should be okay. Unreal Engine also uses C++.

I'll check it out, it looks pretty good, thank you

This topic is closed to new replies.

Advertisement