Snakefu Beta (Binary & Source)
For those of you that have seen my Pascal code, I wrote a game like this once that failed pretty miserably.
This is only a marginal improvement; it was meant only to test by-pixel hit detection.
You may remember that I made a game called Snakefu Alpha. Well, using the Allegro routines, I honed it down
the best I could. I'd say it's actually very close to what I originally wanted before. Press the number keys (not
numpad keys) to change music (VDMSound if XP). Player 1 moves with 'A' and
'D' to turn left and right respectively. Player 2 uses the appropriate arrow keys. It's last man standing, with a score
across the top. Okay, it's not that great...but the death scream is pretty funny.
For those of you looking for documented Allegro code, you won't find it here. All of these examples
were made with the intent of teaching myself how to do it. If you're interested in documented code, I highly
suggest the Tetris game I made. Once the Allegro source is found and reconstructed, it will be
intensely documented.
This game is 2-player only, because I don't like playing by myself. Go find a friend!
|