Thread: Where do i start game programming

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    Where do i start game programming

    I'm confused about all these type windows directx and all that stuff i'd like to know where do i start to program games not including console. and if possible attach a game/games u've made thanks.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    start game

    What should i learn the normal console,windows api and other stuff. I'm confused at what to learn for game programming and where to start and tell me if you would like to program games with me need to know how to make games like maybe a graphical show me games u've made.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    That depends, what do you already know? You might check out the Allegro library. Easy to learn, cross platform, powerful... see my sig if you would like a quick and easy way to install it for your compiler.

    Sorry, none of my games are available for download right now. However, a few Allegro games can be seen at www.allegro.cc
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  4. #4
    .
    Join Date
    Aug 2001
    Posts
    598
    your new great 3d shooter is a few years off.

    Here is what to do

    First get a compiler..

    Dev C++ is perfect for newbies get it at www.bloodshed.net

    then go to Secret Document and find the link for the book C++ in 21 days.

    after reading most off it, get the book Programming Windows 5th edtion

    you must buy the book, there is no way to avoid it.
    To Err Is To Be Human. To Game Is Divine!"

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    Allegro

    What exactly is allegro. I basically know all the basic strings functions and all that i don't know how to put graphics into it i need help with making a game just starting me off

  6. #6
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Allegro is a powerful, cross platform, multimedia library for C/C++. It provides simple functions for accessing video, audio, gaming devices, etc. OpenGL can plug into it for hardware accelerated 3D. Version 4.0 has just been released and supports Windows, Linux, BeOS, etc without having to change a single line of code.

    I have found that if you have a small grasp on C/C++, Allegro is an excellent alternative to using a console to learn from.. but you will need to know basic concepts, like, what is color depth or screen resolution. What is a pointer. That sort of thing. Though Allegro is easy, it is used as a professional tool as well, so you don't have to worry about finding yourself at a dead end, like learning BASIC. Allegro is as fast as DirectX.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  7. #7
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    games

    What's the best thing to program games with windows programming with directx and all that,opengl with windows,console. and can allegro make games like age of empires 2 or diablo or baldurs gate?

  8. #8
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    No offense, but you are a long way from making games. Learn C/C++ first, not just "basic string functions". Learn how/where/why things are stored, if you can't whip up a C/C++ off the top of your head to do basic things, then you're definitely going to struggle with a text-based console game, let alone a graphical game using allegro and/or directx.

    if you think your anywhere near making AOE2, then you are mistaken... many people work together very hard to create a game like that.. it's not done overnight when you've learned the basic C++ string functions the night before.

    come back and ask questions when you know something, you have starting doing things by yourself, and you need help on something specific.

    if you want to talk about the up/downs pros/cons of something, then you're better off in the general discussions forum.

    thanks
    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  9. #9
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    This is what i know

    I know arrays structures unions prolly all the strings and that i know a bit of class i just need to know graphics i know a tiny bit of windows api i know how to change string i know i/o and a bit more so what else what i need to learn to learn how to make games where do i learn.

  10. #10
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Read my posts on how to use/start up with Allegro here. If it is over your head, you need to study the C/C++ language more first.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  11. #11
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    from the list of things that you have specified (and the way that you specified them) you've got a long way to go.

    get into C++, read tutorials, code some programs, when you know classes, inheritance, polymorphism, structures, unions, and more than just basic string functions then consolidate your knowledge by practising more... then start to delve into the windows API.

    get yourself a game programming book and read it.. that'll give you a good idea on what you need to know... and i think you'll be suprised just how complicated it can get if you don't know enough about programming.

    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  12. #12
    Registered User
    Join Date
    Jan 2002
    Posts
    69

    allegro

    how do i setup allegro once i've installed it

  13. #13
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    That depends upon your compiler. If you are using Dev-C++ and used my installer, just use the Allegro templates when you first create your program. It will set up the linker options. For MSVC, you have to add the lib into your linker options manually for now. Again, Allegro is a pretty easy way to get into graphics... if you think you are ready to get into graphics (which is a programming field in and of itself). Nobody goes through the exact same learning path. Good luck on your journey.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 01:30 PM
  3. craps game & dice game..
    By cgurl05 in forum C Programming
    Replies: 3
    Last Post: 03-25-2006, 07:58 PM
  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