My First Allegro Game

This is a discussion on My First Allegro Game within the Game Programming forums, part of the General Programming Boards category; I've been playing around with Allegro for quite some time, and awhile ago I made this simple "crowd simulation." It ...

  1. #1
    Satan valar_king's Avatar
    Join Date
    Aug 2001
    Posts
    288

    Cool My First Allegro Game

    I've been playing around with Allegro for quite some time, and awhile ago I made this simple "crowd simulation." It simulated a gunshot in the midst of a crowded street. You have a "scare" factor (the size of your gun I guess) and each crowd member has a unique "brave" level. If their brave level was higher than your scare level, they'd try to lynch you, otherwise they'd run. You used Numpad Plus and Minus to simulate your scare level, and Insert, Del, Home and End to change your speed or the crowds. It was pretty fun to play around with, but was missing something, the ability to actually shoot at pedestrians. The game ended when you died or pressed Esc. So now, a month or three later, I've gone and remade it mostly from scratch (some code is recycled.) Now, you can't change the speed, and you can't die or win yet, but I'm putting that in. Controls:
    Num +: Increase Scare
    Num -: Decrease Scare
    Insert: Start Sim
    Space: Shoot
    Arrows: Move

    URL:
    http://personal.lig.bellsouth.net/markhand/sim1.zip - 'bout 350kb

    Thanks,
    Valar_King

    P.S.:
    No source yet, I'll release that real soon. It has alot of "unused" code and is very very messy. So there's an .exe in the zip. If you don't trust me, that's ok. alleg40.dll (Allegro's DLL - Required to run) is included incase you don't have it.
    -Save the whales. Collect the whole set.

  2. #2
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    hey, valar_king i couldn't download the game from that link??

  3. #3
    Satan valar_king's Avatar
    Join Date
    Aug 2001
    Posts
    288

    Talking D'oh!

    Sorry, forget the tilde. Here's the correct url:

    http://personal.lig.bellsouth.net/~markhand/sim1.zip






    Thanks for tellin me,
    Valar_King
    -Save the whales. Collect the whole set.

  4. #4
    I'm Back
    Join Date
    Dec 2001
    Posts
    556

    Thumbs up

    thats a pretty good first game.

  5. #5
    muttski
    Guest
    Thats pretty cool sounding, too bad Im at school. I wanna try a program like that.

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, 10: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-25-2006, 11:14 PM
  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, 11:12 AM
  5. Actual Game Dev, no allegro
    By PHP in forum Game Programming
    Replies: 9
    Last Post: 12-17-2002, 03:05 PM

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