Thread: ok so what do i need to start learning

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    118

    ok so what do i need to start learning

    hiya sorry to keep posting what must be trivial questions but i am really interested in learning how to make simple 2d games and maybe one day 3d but at the moment 2d is what im after i read somewhere that a tetris style game should be my first attempt at a game which is fine apart from the fact i have no idea what i need to use. what i mean is i read also that i need to know visualc++ and open gl and im a little confused.i already have started to learn c++ is this the same sort of thing. so in essence could somebody please give me the lowdown on what to use because once i know that i can start to learn and use it.
    i thank you in advance

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    1) Get good with C++, you will need it.
    2) Learn a graphics api (look in the link sticky post about links to that)
    3) See 1)

    You need to get proficient with C++, there are no such things as "easy" games. Games dont come easy, only different levels of hard.
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Pick a simple game - like tic-tac-toe on a console, with dumb moves
    - then make moves smarter
    - then make it 2d graphical
    - then make it 3d
    - then animate the moves
    - then play some sound effects with moves / wins
    - then add network play
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Then add 3D picking functionality. You click the 3D area you want to move into and the game figures out which array element that resolves to.

  5. #5
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271
    Wanna team up to try make this game? I want to get into games programming myself but don't want to go into it alone..... I'm too scaaaarredd.....
    But seriously I'd rather go the OpenGL way and I think I'm still Ok at C++ so I can contribute a little. Bught a book to get me started on game programming principle too so gimme a buzz..
    A hundred Elephants can knock down the walls of a fortress... One diseased rat can kill everyone inside

  6. #6
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    sure i would like to share this daunting task
    im not really any good at programming at the moment but im a very persistant learner.
    i dont really know where to start but im sure if we put are heads together we can break it down step by step and come up with a decent design and plan.

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > sure i would like to share this daunting task
    Try not to eat the entire elephant in one go.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  8. #8
    Registered User
    Join Date
    Dec 2005
    Posts
    118
    your right im gonna need a sharp knife to cut this down into bitesized pieces

  9. #9
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    I am working on a game with a battle system like Final Fantasy Tactics... I just started this recently. Probably only 3 weeks into it. I have maybe 300 lines of code written and all of it is just test stuff so that I know that my ideas are workable.

    Hopefully none of this code will make it into the final product (only 2-3 years away hopefully). One thing about doing game programming, you need to plan everything out, coding without a plan will lead to garbage spagetti code that wont work when you try and sync up everything.

  10. #10
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    Bottom line of game planning. Good point Wraithan,

    Like buliding a house without a blue print. No plan could lead to somthing you did not want or does not work quite how to expected it too.

    I usually take a week to a month planing, dependant on my game, then write pursecode then before a line of C++, test little bits out, like an upgrade class.

  11. #11
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    I don't really psuedo code many things out. I mean I kinda do with my diagrams I write/draw but mainly I will code bits and pieces to test and see if it is feasable.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ help: Don't know where to start
    By firestorm in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2005, 06:39 PM
  2. Linked List Anamoly
    By gemini_shooter in forum C++ Programming
    Replies: 3
    Last Post: 02-28-2005, 05:32 PM
  3. Learning Project
    By howdytest in forum C++ Programming
    Replies: 12
    Last Post: 12-27-2004, 02:35 PM
  4. start another program
    By lshome in forum C Programming
    Replies: 3
    Last Post: 06-24-2002, 01:48 PM
  5. learning c++
    By Unregistered in forum C++ Programming
    Replies: 3
    Last Post: 02-01-2002, 11:11 PM