Help...

This is a discussion on Help... within the Game Programming forums, part of the General Programming Boards category; Alright, i know pretty much all there is to the C++ language...i can code pretty well, but the whole reason ...

  1. #1
    Unregistered
    Guest

    Help...

    Alright, i know pretty much all there is to the C++ language...i can code pretty well, but the whole reason i learned it is cause everyone uses it. I wanna create those cool EXE files with the graphics and those games , like quake and coutnerstrike, and stuff like that...but when i create EXE's with Borland, it always runs in DOS mode and that sucks...I wana be able to programm cool games and programs, but i dont know how to start. Can anyone here tell me what i should get to do all that stuff? I wanna create a cool game with cool graphics and suff....Can you guys tell me what i should do? im kinda of a n00bie at this so please leave no detail untold...tell me if i should change compilers, or somehting...tell me EVERYTHING please...

    thanks...

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    Check out my FTP (Full of eBooks), the link is in my signature. Download and read Direct X7 in 21 Days, and maybe Visual C++ in 21 Days wouldn't hurt either.

    You really have to be using the Microsoft Visual C++ compiler to read and do the examples in these books..

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Might also check out this cool pro (free) tool: http://alleg.sourceforge.net/
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  4. #4
    Unregistered
    Guest
    Whoa...this is kinda fast. Went to the sites but it doesn't help at all...i dont have visual, can't i use Borland or Dev ? Isn't there a more "full" tutorial using one of the other compilers? What is allegro? Im a n00bie guys...i need ALL the info...

  5. #5
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Allegro was designed to make a uniform way to do graphics, sound, input, and such accross all platforms - using the best technology for that platform. In Window's case, this means using a mix of DirectX and OpenGL, so it doesn't get any faster (though there are a couple routines that can be optimised or avoided...).

    Anyhoo, it is really easy to use, works with MSVC, Borland's free 5.5 command line compiler, and Dev-C++(mingw or cygwin) for Windows, and you can recompile your code on BeOS or Linux for instance, without changing a single line of code.

    I recommend using it with Dev-C++. All you need to download to get it is my graphical installer (see my sig for link). Includes some extra tools and examples, all the source code etc. (Oh, BTW, Allegro is giftware so you don't have to worry about giving credit or legal issues.) Here's a link to show you a bit how it works.

    The program posted works just as well in any of the compilers I listed before.

    Hope that helps.
    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  6. #6
    Unregistered
    Guest
    Wow..thanks justin..

    when using Dev c++, what kind of project do i create? a dos? window application? Which one do i choose when i wanna create a graphical game? ALso, are there any tutorials on using Allegro? Is that what Quake and Counterstrike were created with? THnx..

  7. #7
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Quake was its own entity and I don't know about Counterstrike.. but if it is recent then it was done with a mix of DirectX and OpenGL (same as Allegro). Nobody ever advertises that they used Allegro, since it isn't in the licensing, so it is hard to say who uses it - but it is definitely the same technology.

    After you install from my graphical installer, there will appear a new template tab when you go to create a new project. Just click on the Allegro tab and select "Static link". This means that you only distribute the parts of the lib your program uses, not the whole chunk. It is technically a Windows app, but there is no WinMain() or anything because that would break compatibility with other OSs.

    After you get going with that link I gave before with an example program, and after you've played with the template a bit, then there is lots of documentation that can easily get you going with anything else you need. Plus, you can go through the well documented example programs. (All this included in the download.) Otherwise, there is a community of beginning Allegro game programmers at www.allegro.cc , many of whom have tutorials. Also, might find this Allegro online mag of interest.

    And you can always post here if you have any questions.

    -Justin
    Last edited by Justin W; 03-14-2002 at 10:24 AM.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  8. #8
    Unregistered
    Guest
    Thanks, i installed allegro succesfullly and started my project of ping-pong...but i dont know where to start...i mean. Allegro is COMPLETELY new to me, i dont know any of the commands...i only know c++....Do any of you have any games created with allegro? Can i see the source to it please? im new...help out guys...

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    u can get sourcecodes at www.allegro.cc

  10. #10
    Unregistered
    Guest
    Where? I dont see any source codes

  11. #11
    muttski
    Guest
    Are you doing dos or windows allegro programming?

  12. #12
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    try the search

    or in the game sites

  13. #13
    Unregistered
    Guest
    im doing windows allegro programming...and i still need help...there dont seem to be any tutorials at allegro.cc and i can't find codes. Does anyone else know anywhere i can learn to program a few simple games?

  14. #14
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    I'll post these two links again.

    http://www.cprogramming.com/cboard/s...threadid=10521

    http://echellon.hybd.net/

    Also, figure out what you want to do, write out a design on paper for it, then look at the documentation (in the Allegro\Docs directory) to see how to use everything. Also, look in your Examples\Allegro directory in Dev-C++ for Allegro example programs. When you have a specific question, we're all here to help.

    Check out the code I posted in this thread thread for quick and dirty animation techinque 101.

    -Justin
    Last edited by Justin W; 03-14-2002 at 09:26 PM.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  15. #15
    Unregistered
    Guest
    For some reason, when i double click one of the examples (or any) to see code and ask for it to be compiled, it gives me a WHOLE bunch of compiler (linker) erros and wont compile....any reason for that?

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21