Thread: Well, my first (allegro) game

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    249

    Well, my first (allegro) game

    After going through the all the newbie allegro tutorials from LoomSoft, I messed around (alot) with the code and before I new it I had made this pong game. It actaully came out not to bad. Please check it out and tell me what you think (I ziped the source as well as the pre-compiled). The only thing I don't understand is the whole speed_counter thing. If anyone has read those tutorials, can you PLEASE explain to me what it does? Since I'm pleased with how the game came out, I think I'm going to continue working on it and add more stuff later on when I get time to learn more on allegro. Also, please post your highest score

    [edit]

    Oh and if your wondering, it IS single player. And it has some pretty nifty AI IMHO
    Last edited by funkydude9; 03-30-2003 at 08:57 PM.

  2. #2
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    It won't run it says: "This application has failed to start because alleg40.dll was not found. Re-installing the application may fix this problem.". I'm very glad you posted this as I am wishing to learn Allegro (after the AP test) this will be a big help, nice commenting, SERIOUSLY!
    If you ever need a hug, just ask.

  3. #3
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Nice game. Keep up the good work.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    Originally posted by CheesyMoo
    It won't run it says: "This application has failed to start because alleg40.dll was not found. Re-installing the application may fix this problem.". I'm very glad you posted this as I am wishing to learn Allegro (after the AP test) this will be a big help, nice commenting, SERIOUSLY!
    Have you installed Allegro yet? You can get it here:

    http://www.allegro.cc/go.php?http://...4.0.2-msvc.zip

    I thought the executable would work for people who don't have allegro.

    BTW, by AP test, do you mean Advanced Placement? Cause I'm taking one too at the end of my class.

  5. #5
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Yeah I have 9 chapters to read in like a month and a half, oh well. It seems pretty easy, good luck.
    If you ever need a hug, just ask.

  6. #6
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110
    >>I thought the executable would work for people who don't have allegro.

    You have to include the allegro dll file to your game .... because else everyone who wants toplay your game is going to download the whole allegro librarie.
    ::edit::
    i like the credits.txt file
    funkydude9

    Assistant Production Coordinator:
    ---------------------------------

    funkydude9

    Game Tester:
    ------------

    funkydude9

    Special Thanks to...
    --------------------

    funkydude9
    Last edited by GanglyLamb; 03-31-2003 at 04:42 AM.

  7. #7
    IonBlade
    Guest
    Nice game. my score was 76 (i only played on 5 difficulty)

  8. #8
    Registered User Ion Blade's Avatar
    Join Date
    May 2002
    Posts
    35
    whoops, didn't log in right
    "Im going to have peaceful dreams of brackets and semicolons strapped on crucifixes, screaming for mercy" - Someone who doesn't like programming.

  9. #9
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    Originally posted by GanglyLamb
    >>I thought the executable would work for people who don't have allegro.

    You have to include the allegro dll file to your game .... because else everyone who wants toplay your game is going to download the whole allegro librarie.
    K, I'll attatch it when I get to my home computer.

    Originally posted by IonBlade
    Nice game. my score was 76 (i only played on 5 difficulty)
    You must mean 75, because the score is calculated by multiplying the # of times the ball hit your paddle by the difficulty, so it has to be divisible by 5....
    Last edited by funkydude9; 03-31-2003 at 02:11 PM.

  10. #10
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Originally posted by IonBlade
    Nice game. my score was 76 (i only played on 5 difficulty)
    [sarcasm]
    LIAR! You played on difficulty 2!
    [/sarcasm]
    Last edited by CheesyMoo; 03-31-2003 at 06:34 PM.
    If you ever need a hug, just ask.

  11. #11
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    Now, now children. There's no need to fight

    It won't let me attach the file -- it says it's too big

  12. #12
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    There was a bug -- after you press enter to set your difficulty, it would actually set it one more higher. I fixed this, so no more difficulty probs! Has anyone been able to figure out why it randomly exits the program sometimes? I think it has something to do with speed_counter. My new high score is 140 by the way. Anyone able to beat that?

    [edit]

    I uploaded my game on another forum (hehe) so you can get the allegro file here
    Last edited by funkydude9; 03-31-2003 at 11:15 PM.

  13. #13
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    funkydude, so what was the game before this ah?

  14. #14
    not bad, look forward to seeing more of your work

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please comment on my c++ game
    By MegaManZZ in forum Game Programming
    Replies: 10
    Last Post: 01-22-2008, 11:03 AM
  2. New Project, text game, design stage.
    By Shamino in forum Game Programming
    Replies: 9
    Last Post: 05-23-2007, 06:39 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. Game Programmer's AIM Circle: Join Today
    By KingZoolerius66 in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 12-20-2003, 12:12 PM
  5. My First Allegro Game
    By valar_king in forum Game Programming
    Replies: 4
    Last Post: 03-22-2002, 02:07 PM