Thread: after C where to start game programing

  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    2

    after C where to start game programing

    hi all . i learn C language in uinversity and know how to open and work on files in C (fopen,fprintf,....) . i dont know anything about data structure or information storage and retriveal in C . nformation storage and retriveal is one of my lessons in our university . now i want learning game making but i dont now where to start . i using windows and Linux and my compile is GCC and ide is codeblock . i now about opengl and sdl is for wath but not work wiht these . i search and i find allegro game engine . can any body help me where to start .
    Last edited by sniper007; 08-03-2010 at 08:08 AM.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    I've never been into game programming much, so don't take this advice too seriously, but I would think the best place to start is by learning some of those graphics libraries, and perform some simple tasks, like drawing a circle falling to the bottom of the screen, or something like that. In doing so, you will see the kind of data structures you need to work with.

    Also, learning C++ will build on what you've already learnt, and is a very common language in game programming. It has a lot more object-oriented features than C, and as such, will probably make it a lot easier to structure and think about your games.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    You should get more comfortable around programming before doing graphics. This doesnt mean that you cant do games though, a surprisingly small part of the game is the graphical part. I suggest you try to make a few of the very simple games around (tic tac toe is a classic) without any graphics (just normal printf and so on).

    Also dont feel bound to the courses, if you want to know something about C or programming or in general anything just search and read about it. For instance get comfy with the C you have been taught so far and then start reading about datastructures and so on.

  4. #4
    Registered User
    Join Date
    Aug 2010
    Posts
    2
    is that any resource for comand line game or a book for starting making real program in c?

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Define "real programs in c"...

    IMO you are much better off just mucking around playing with things, doing various "crap" programs (you will learn alot by just playing around, looking things up as you go and if you get really stuck on something specific come here and post and we will help you). There are only so many things a book can teach you, some things you just have to tackle on your own.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. When to start 3D Game Programming?
    By m3rk in forum Game Programming
    Replies: 42
    Last Post: 04-23-2009, 07:37 AM
  2. craps game & dice game..
    By cgurl05 in forum C Programming
    Replies: 3
    Last Post: 03-25-2006, 07:58 PM
  3. Where do i start game programming
    By knight543 in forum Game Programming
    Replies: 12
    Last Post: 01-11-2002, 10:23 AM
  4. Easiest 'real' game to start with...
    By Leeman_s in forum Game Programming
    Replies: 9
    Last Post: 01-03-2002, 01:52 PM
  5. Easiest 'real' game to start with...
    By Leeman_s in forum C++ Programming
    Replies: 9
    Last Post: 01-02-2002, 11:29 AM