Posts Tagged ‘allegro’
Monday, December 10th, 2007
Assuming I get around to entering, there’s a good chance I’ll be using this as my foundation, with Allegro.
My “Custom” Library
It’s a collection of header files and code, commonly found in my more recent prototypes. C++.
- A vector math/matrix library, plus some other math tools. Partially documented!
- A set of functions for drawing circles, lines, and rectangles with Allegro, transformed by a matrix.
- A collection of string functions to compliment STL String. Mostly for filename manipulations (get the base name, directory only, etc).
- Class building tools (including the “useful” part of Boost)
- FileIO with Compression (LZMA, BZIP, ZLIB)
And that’s that.
Tags: allegro, library
Posted in LD10 - Chain Reaction | No Comments »
Tuesday, December 4th, 2007
For the LD4 in 2004, we did a series of preparation compos. They were much shorter as a real LD, and as theme had the remake of an agreed upon classic game. One of them was Robotron (the others were Sapce Invaders, Frogger and Spy Hunter). In the Robotron one you had 4.8 hours for the game. My entry turned out to be a much better game than the one I actually wrote with 10 times as much time for the real LD. Oh well.

The game is rather simple. One directional input (cursor keys) controls the movement of the pink blob, another one (ASDW) controls the gun. Just like in the original.

There’s 30 partially random levels, and quite a lot of different enemies with unique behaviors.

Some of them, like the crab and the spider, were added in a post-compo version. Those are really hard (but fun, this is one of the few of my games I play through occasionally), as is the final boss. The crabs circle you, and the spider tries to aim ahead when shooting - back then I was still good at calculus, apparently
The final boss doesn’t shoot you directly, but takes a lot of hits and spawns random enemies.
Tags: allegro, blobs, crabs, explosions, final, linux, preparation, remake, robotron, spiders, stars, triangles
Posted in LD-Misc | No Comments »
Sunday, December 2nd, 2007
I don’t know what the theme for this Non-Compo was (I think there wasn’t one), but I made a yahtzee clone. Much more than a clone, though, it is far more complicated than Yahtzee, allowing you to score a bunch of different ways.

As you can see, there are 2 colors of normal ducks, and a King Duck. So you can score in the Same column if your dice involved are the same color, the Diff column if any different ones are involved, and in the King column if the King is involved. The High column is one you can use if you ever get another column twice, but your second time is a better score than the first. It makes some sense when you play it. And to stop a die from being thrown on subsequent rolls, you put the ducks to sleep (as you can see in the picture).
This was my first actual 3D game! Well, my most finished 3D game (even though it’s not finished). Those dice are pure 3D, hand coded from scratch. Take that! Their rolling is real, not just a visual representation of a random number generator - they get a random spin on all axes when thrown, and wherever they stop when they land is what they are on. The code to interpret their facing into a number was the tricky part.
Too bad for you, you can’t play it - there is no downloadable version at this time.
Tags: allegro, dice, ducks, final, king, water, yahtzee
Posted in LD-Misc | No Comments »
Friday, November 30th, 2007
Photon was my entry to LD6. The theme was “Light and darkness”. I still remember all the time I fiddled with shadow calculations. In my game, each light source does exact shadow calculations with all the level geometry - and in order to still have it all run with < 1% CPU, this was quite some work. Now, there’s nothing special about this except, I wanted to do things in the most simple way possible, this being an LD. And I had to admit utter defeat when I later saw bluescrn’s entry. Instead of spending half of the 48 hours on it like me, he went for a dead simple approach - with the only difference that his was not 100% accurate. Which would have made no visual difference in my game whatsoever. In fact his shadow method would have worked a lot better in my game in just about every respect
I still managed to do quite well. Here’s some screenshots from back then:

The title screen.

The goal of the game is to send all the photons coming from the lamp to the prism, but the problem is, you only can see the areas of the map which are lit up by the moving photons.

To control the photons, you can place mirrors - to light up more areas of a level, and once you have found the prism, send them all to it.
Seems the original submission is still up: original zip at original site
Tags: allegro, darkness, final, LD6 - Light & Darkness, light, linux, mirror, opengl, photons, prism, puzzle, shadow, sparkle
Posted in LD6 - Light & Darkness | 1 Comment »
Thursday, November 29th, 2007
Random Dungeon Exploration is the result of trying to push the Random theme as far as possible. It got random levels, random enemies, random quests (well, a little bit random!), random items, random player names, and random events. I guess it could have been even more random, but time was a limiting factor.
As for the actual gameplay, it’s fairly simple step based dungeon crawling. And a ‘town’ screen where you can shop and select dungeons. It felt pretty solid, but there were a lot of balancing issues that you’d notice once you reached some higher levels.

The game was well received, placing second in the ‘Fun’ and ‘Production’ categories, and also getting the ‘Best In Show’ UBER prize.
You can get the slightly improved post compo version, or the compo version. Both are for Windows and OpenGL.
Tags: 2D, allegro, Best In Show, C++, dungeons, exploration, final, firs, opengl, random, RPG, shopping, The One Ring, tiles, Windows, winner
Posted in LD5 - Random | No Comments »
Wednesday, November 28th, 2007
The Destruction of the Viruses was a fairly ambitious (but not very innovative) game written for the Infection theme. The player had to clean out the insides of a computer by killing all the viruses that resided there. The viruses could clone themselves, so it wasn’t always that easy.
It played like a top-down shooter, with FPS controls, and used OpenGL to draw a level that could be rotated around the player.

There were many good intentions, and much love for the number 5 (there being 5 levels, 5 enemy types, and 5 weapon types), yet the game failed badly. The biggest mistake was a bug which made some parts of the game framerate dependent, leaving it extremely hard if you had a low framerate (it played as intended at about 180 FPS). It’s hard to say how it would have fared without the bug, but as it were, it placed about 23th.
You can get the compo version, or its source, if you want to, but I really must urge you not to! Better to get the ‘made working dist’ released a few days after the deadline. Both of them are for Windows and OpenGL.
I have an even better version around somewhere, that I haven’t packaged and released yet. I’ll do that soon, and then I’ll include it here.
Tags: 2D, allegro, C++, destruction, explosions, final, infection, opengl, railgun, rocket launcher, shooter, tiles, viruses, Windows
Posted in LD4 - Infection | 1 Comment »
Tuesday, November 27th, 2007
Swarm was my entry to LD8. The theme of was, well… “swarm”. I know, I know, I’m no good with coming up with names for my entries. Anyway, for this game, I coded an entire 3D engine (octree based) from scratch. So, I spent most of the 48 hours debugging octree code, and crammed in some gameplay towards the end. Since I never spend more time on gameplay - it still should be as fun to play as most of my games

This is an in-development screenshot, showing some octree debugging going on.

That’s how the game looks like. Shoot down all the pink, eyed balls to encounter the uber-cool-final-boss-with-superior-AI. (I got feedback suggesting that at least one person actually played long enough to encounter the boss - so I consider the gameplay aspect successful.)
Here’s a mirror of the original submission: Swarm
Tags: 3D, allegro, boss, eyes, final, flying balls, flying monsters, FPS, LD8 - Swarms, linux, monsters, octree, opengl, pink, shooter, swarm
Posted in LD8 - Swarms | No Comments »
Tuesday, November 27th, 2007
Having learnt some great lessons from my previous LD48 entry, Save The Hut, I decided to not include as much boringness, confusion and frustration in my next game. Together with the theme Construction/Destruction, and a cosmetic theme of Sheep, it all became so obvious: I was to make a game where you construct traps to destruct sheep. And lo and behold! there was The Destruction of the Sheep.

I decided to use pretty much the same tech as for Save The Hut, but used it better to get some fancier stuff, like sub tile precision movements, rotated sprites, pseudo 3D particle gibs, and paintable background.
The game was supposed to be a puzzle game, but in the end only a few levels were puzzly, the rest was just mindless, but entertaining, sheep destruction with lots of gore. All in all, it worked out very well, making me a winner in ‘fun’ and ‘complete’ categories, and third in ‘gameplay (innovation?)’ and ‘overall’.
There’s an improved version available, adding some fixes, and a 2x time speed-up button (but there remains at least two bugs and a lot of spelling errors). You can get this version of The Destruction of the Sheep as a .zip archive or as an installer. They’re for Windows.
The original compo version is also available, both for DOS and for Windows (the Windows .exe was kindly provided by Hamumu during the compo). There’s also the source.
Tags: 2D, allegro, building, C++, complete, construction, destruction, DOS, explosions, farm, final, fluffy, fun, gore, puzzle, sheep, tiles, traps, Windows, winner
Posted in LD2 - Construction/Destruction | No Comments »
Monday, November 26th, 2007
Hydra was my entry to LD7. The theme was “growth”. It’s a top-down shooter, where you play a growing hydra.

At the start, the hydra is merely a small worm - and even a single knight who has set out to kill you is a dangerous foe.

Some levels later and after eating lots of knights, the Hydra has reached quite some size. But, there’s now also more knights, and they also got bigger and stronger.

The final form when you win the game - I doubt anyone ever has encountered this without using cheat codes.
Download: original LD7 submission (no idea if it still works on modern systems)
Tags: allegro, final, growth, hydras, LD7 - Growth, linux, opengl, shooter, top down
Posted in LD7 - Growth | No Comments »
Monday, November 26th, 2007
Insanity was my entry to LD4. The topic was “infection”. My idea was somewhat far-fetched and only in the story - the home town of Ian the janitor is befallen by an infection of insanity - so he has to beat up all the scientists at his workplace to find the cause of the infection and a cure.

Since I messed up the base engine (tried to somehow stuff the 3D into 2D), I wasn’t able to finish. There’s just one level with place holder graphics, but the level can’t be won and so the story never reaches its conclusion.
Tags: allegro, beat-em-up, fighting, final, infection, insanity, janitors, LD4 - Infection, linux, scientists, unfinished
Posted in LD4 - Infection | No Comments »
Monday, November 26th, 2007
Gnome Guard was my entry to LD1 - theme guardian. In the game, you are confronted with a horde of small gnome children, and have to safely guard them home after school.

The title screen

The gnomes will run towards the green pillar, and avoid the red pillar.

But only if they feel like it.
The original download is mirrored here - no idea if the game itself still works: download link
Tags: allegro, final, gnomes, guardian, LD1 - Guardian, linux, povray, RTS
Posted in LD1 - Guardian | 1 Comment »
Monday, November 26th, 2007
Save The Hut was my very first entry into the world of ‘make a game in a low amount of hours’ compos. It was all about The Hut, and how to Save it from the hut-hungry alien invaders. The player had to make sure The Hut survived for a certain amount of time. To achieve this, stuff could be built, but there was a limit set by the amount of credits available. It played as a mix of RTS and puzzle.

Featuring 10 levels, 8 bit palette graphics awesomeness, developed for DOS using Allegro and DJGPP, it placed about 14th. Its shortcomings seemed to be that people had trouble figuring it out, had real trouble passing level 3 (The Holy Cactuses, which was pretty hard), had trouble running DOS games, and also found ‘hold out for X seconds’ extremely annoying (because it sucks to fail at ‘2 seconds left’ and have to replay the level).
You can download a newer, slightly improved version (for Windows) of Save The Hut as a .zip archive, or as an installer. Or, you could get the old compo version (for DOS).
Tags: 2D, aliens, allegro, building, C++, cottage, DOS, final, firs, guardian, huts, invasion, protection, puzzle, RTS, save, tiles, Windows
Posted in LD1 - Guardian | No Comments »
Monday, November 26th, 2007
Ludum Dare #3, theme Preparation. My game, PuffBOMB. Propel a hamster character to an end zone using bombs. Incredible Machine with explosives, burning, and screaming. :). The original compo version, unfortunately, featured only 2 levels.
PuffBOMB scored a Silver for sound, and came in 5th place for fun.
Download: Original compo version
/pb_ld3_sm.png)
After the compo, I continued to work on the game over a couple weekends, adding 10 actual levels to the game. Also, adding custom level support, due to Stephen Stair offering to build a level editor. The game was later featured on several on several game magazine coverdisks.
Download: Post compo version (0.8)

Eventually, in 2005, I went ahead and fancied up the original game for submission to the IGF and Slamdance competitions. Changed the graphics dramatically, toyed with some graphical effects like a cartoony fire effect, white outlining effect, and so on. Added a proper menu, and ported the game to the Mac.
PuffBOMB was a finalist for the “Popcap Casual Game Award” at Slamdance 2006.
Download: Windows, MacOS X
/pb_igf_sm.png)
Today, development continues on the so called “super remake” of the game.
/teaser.png)
Tags: allegro, burning, final, fire, hamster, LD3 - Preparation, mac, mouse, osx, preparation, puffbomb, scream, Windows
Posted in LD3 - Preparation | No Comments »
Monday, November 26th, 2007
Ludum Dare #2, theme Construction/Destruction and Sheep. My game, Sheep Strike. Sheep Strike is a 2 phase game. In the first phase, you construct using Tetris blocks, a defensive barrier to protect the baby wolves. Occasionally getting guns as well. In the 2nd phase, using your guns, you’d defend the base from a bombardment of sheep coming from the sky.
The game scored a Silver in the Theme category.

Tags: allegro, construction, construction destruction, destruction, explosion, final, LD2 - Construction/Destruction, mouse, sheep, shooting, tetris, Windows
Posted in LD2 - Construction/Destruction | No Comments »
Monday, November 26th, 2007
Ludum Dare #1, theme Guardian. My game, Trout!. Trout! is a game where you the blue fish must rescue the orange fish. Well… assuming they were in peril. Being the first LD48, I still hadn’t got used to how to best work in 48 hours. The game lacked scenery collision, making it no actual challenge at all. Beware the hook though.
The game scored Bronze in the graphics category.

Tags: allegro, final, Fish, guardian, hook, keys, LD1 - Guardian, Peril, Trout, Windows
Posted in LD1 - Guardian | No Comments »
Monday, November 26th, 2007
LD48 #3 was themed “Preparation - Set it up and let it go”. For this I originally made a game where you were a leprechaun and needed to plant traps to kill people trying to come steal your lucky charms. For some reason, despite how fun that sounds, I couldn’t get anywhere on it and quit halfway through. Then I came back on the second day, reusing some of the code and graphics and created NPC Quest! It’s a game of buying gear for a fantasy hero, and then watching him fight battles without your help. It’s actually more strategic and fun than it sounds.

Tags: allegro, fantasy, final, knight, medieval, mutant dolphin, NPC, peasant, preparation, random levels, RPG, shopping, tiles, used car salesman, wizard
Posted in LD3 - Preparation | No Comments »
Monday, November 26th, 2007
LD48 #2 theme was Construction/Destruction, with a minor theme of Sheep. As such, I created Hitsuji: Shears Of Fury, a game where you destroy construction equipment as a ninja sheep. It featured a really cool tweening animation system I wish I had used since, as well as some lovely use of very default Allegro fonts. It also included zombie construction workers, and pelicans. Pelicans appear often in these games.

Tags: allegro, beat-em-up, combos, construction, destruction, fighting, final, gyros, ninja, pelican, sheep, side-scroller, tiles, zombie
Posted in LD2 - Construction/Destruction | No Comments »
Monday, November 26th, 2007
Ludum Dare Zero (Beta, 24 hour), theme Indirect Interaction. My game, Fun Game. Contrary to the name, Fun Game wasn’t a fun game. In fact, it wasn’t anywhere near a complete game. The idea was to (hahaha) create a virtual pet game in 24 hours. Genius idea I do say. I did complete a bunch of art, and had a … sort of working user interface. All in all, not too bad a stab at a 24 hour game… just nothing worth mentioning.

Tags: allegro, eating, final, fruit, fun, game, indirect interaction, LD0 - Indirect Interaction, mouse, not fun, unplayable, Windows
Posted in LD0 - Indirect Interaction | No Comments »