Sign in to follow this  
RaoulJWZ

Already ready to start making simple games

Recommended Posts

Hello everyone,

 

A few months ago i bought myself a book about c++ and started learning.

Altought i haven't finished the book yet (But i will ofcourse) i wanted to know how far i already am

and what is still essential to learn in order to start making small games (like pong first).

The things i know know are:

-variables
-statements like if, for, switch, etc.
-functions
-arrays
-vectors
-pointers(the theory, but sometime it still can be hard to use)
-classes

 

I hope you will have something about this information.

 

Thanks in advance.

Share this post


Link to post
Share on other sites

I think you need to know more about "game programming" specifics.

All of the "things" you know are practical / syntax-related ways of doing things.

One key skill missing would be to know better how to architecture a program, and specifically for game development.

 

http://www.gamedev.net/page/resources/_/technical/game-programming/how-to-structure-a-game-r3113

This above article might help get you started, but I'm sure you can find more "advanced" articles on architecture, patterns, etc.

 

Good luck!

Share this post


Link to post
Share on other sites

You will need to figure out how you can render your game on the screen.  If you plan on doing something basic with ASCII art then you can get away with simple console commands to output text.  However if you want to render graphics then you'll need to know how to load images and display them on the screen.  

Share this post


Link to post
Share on other sites

Do you need to know about polyformism and inheritance in order to make games?

 

You don't have to know polymorphism or inheritance to make games, however if you do understand these concepts it will save you a bunch of repetitive code, meaning your final game source code will be much smaller.

Share this post


Link to post
Share on other sites

I did a post Just Starting Out, Which games should I make? which should be useful you now.  It's a list of projects in escalating difficulty that I suggest beginners start with.

 

 

Most importantly, it tells you why.  So for each game it tells you what specifically you will learn from doing that game, as well as gives links to related sites and samples that should help you along.

 

That should basically get you through the simple game hump.

Share this post


Link to post
Share on other sites

WOW every time i aks something on this site, it scares the hell out of me how quick there are reaction :D! Really great.

 

But Serapth thanks for the link, that was what i was looking for. Do you recommend me to do those things along with some of

the include tutorial, or do you think it's better to get my hand filthy and try some things first (altought i have no idea how to make things like AI yet).

 

thanks

Share this post


Link to post
Share on other sites

If Im not mistaken you could try in Unreal Engine,  They support C++ and it will make it easier for you to create a game, however

 

I would suggest Unity 3D. It support C#, UnityScript (JS) and Boo (Python).

Unity has a great support for programmers. And they will help you solve, and  fix any type of problem you may have in very short time (Just like in this website heh)

 

Here is the link for the Script Section in Unity Forum: http://forum.unity3d.com/forums/scripting.12/

Have a look.

 

But you can choose any Engine you prefer. Both have millions of free tutorials in the internet :)

Share this post


Link to post
Share on other sites


I did a post Just Starting Out, Which games should I make? which should be useful you now.  It's a list of projects in escalating difficulty that I suggest beginners start with.

To add to that, there is also this article on GDNet http://www.gamedev.net/page/resources/_/technical/game-programming/your-first-step-to-game-development-starts-here-r2976

Share this post


Link to post
Share on other sites

As both the links describe, but is not really explicitly pointed out, it is far easier to start with text games instead of graphics games.

 

One of the first games aspiring programmers can  build is "guess the number". Pick a random number, allow a certain number of tries, and go from there. It relies only on simple text input and text output. 

 

A popular game that is actually good for quite a lot of research is Tic Tac Toe. The first pass of text game, you can just scroll the old board up a few rows if you want. It is popular in college as a good tutorial on the minimax problem, which is a popular tool in game AI. Of course the game is solved already and it is easy to take the ideal move, but building an AI that calculates the ideal move is a good programming exercise.

 

Connect Four can be done with text, and is similarly good for simple AI research.

 

Hangman can be fun for humans and as a technical challenge for beginners, but as a source of study doesn't offer much.

 

Text based adventures are pretty easy using modern tools. In one of my articles I wrote several variations of a simple text adventure in a couple hours. Once you understand the science side behind it (state machines) you can make all kinds of text adventures. Advancing the plot is a matter of exercising a state machine until you get to a final state.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this