Help Hannah's Horse Screenshot A fun and fast pacman / fastfood type game in SDL.

Help Hannah's Horse is a simple combi-clone of pacman and the Dizzy game 'Fastfood'. The aim is to guide Hannah around the maze collecting the carrots (which move!) and the pills.

Collect a powerpill (blue and red) to enable Hannah to eat the ghosts for a short while.

Some mazes have gates that only Hannah or only the Ghosts can pass. Some need Hannah to collect the red key to open them.

This game is licensed under the GPL (VERSION 2)

License: free
Requirements:

  • SDL
  • SDL_image
  • SDL_mixer
  • SDL_ttf

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnonononoyes
Suggest an update

Comments

I won't give my own game a rating, that would be cheating :D
This is my first game so please be gentle, but tell me what you think. There are a few bugs:

  • The score vanishes for a second after you lose a life. I don't know why, I'm looking into it.
  • If you finish level 15, the game will crash as I have not allowed for the player 'winning' yet and I intend to make more levels. I will fix this, I promise.
  • There are currently no extra lives. I will also add this feature for reaching certain scores.
  • There is no ./configure script because I haven't had time to look into using the autotools. Typing 'make' should be enough to compile, or if not the Makefile is pretty basic.
  • I haven't tested this on anything other than Zenwalk and Ubuntu. It works on both.
  • My code is crap, please be nice!

Other than that, tell me what you think. The command line argument -fullscreen will change to fullscreen mode. Sound is not yet optional, but will be. This is a work in progress. Thanks!

KK
Re: Hi, game author here... posted by frostwork on Jan 4 2007 1:11 AM
Very nice and polished game. Builds & works without problems on my gentoo-powerpc-system. :)
Didn't play so far to reach the system-crash, but everything else works as it should. Thanks a lot!
Re: Hi, game author here... posted by komakino on Jan 4 2007 8:59 AM
Thanks! Positive feedback, if only from one person, is a real incentive to carry on :)
Re: Hi, game author here... posted by anonymous on Jan 4 2007 12:00 PM
Just skip autotools. SDL deps are so simple that a makefile is easier to understand, easier to fix, more portable etc.
It's about time njam had some competition :) Nice game already, has some lag sometimes but looks good and very playable. Looking forward to new levels and other features.
Re: nice one posted by komakino on Jan 4 2007 11:25 AM
Could you tell me about your lag? Are you on a fast system? I will have to look into what's causing that
Re: nice one posted by TfrmB on Jan 8 2007 8:43 AM
Most noticable after a new life starts. I'm holding down a key while waiting. My system is 3 years old and rather fast, I can play most complex 3d games without any problem.
Re: nice one posted by komakino on Jan 8 2007 9:24 AM
Right...really not sure about that, though I am working on rewriting the sprite code (at the moment each sprite holds a copy of all its frames - I'm doing it so they all share one. I think also there is some disk access which is unnecessary).

I'll see what I can do, but it could be tricky to pinpoint. Watch this space!
Re: nice one posted by TfrmB on Jan 8 2007 1:30 PM
Even with the lag, the game is still very playable, so don't worry about it too much. Very interested in next releases.
Keep up the good work :)
Cute little game for Cute little girls ;) Good work for a first game, having a story and music and nice choice of colors.
This isn't my type of game, so i give it 3 stars. Anyway i think i can give it another try in future and maybe even the fourth star.
Keeps up the good work! :)
Re: Help Hannah's Horse posted by sss72 on Jan 4 2007 11:21 AM
yes, the starts *** :) Maybe possibility to disable the music...
Re: Help Hannah's Horse posted by komakino on Jan 4 2007 11:24 AM
Yes, good idea. I will make a -nomusic option for the command line! Very easy to add.
Re: Help Hannah's Horse posted by farrer on Jan 4 2007 12:51 PM
Polished one (and very good for a first game)... I think it can be better with better responses of the character (sometimes it doesn't turn a corner when I press the keyboard) and if the Makefile have a clean option (make clean is very usefull when the binaries delivered with the package aren't for my arch)...
Hi,

Love this game, I'm addicted! Unfortunately the game sometimes crashes Ubuntu 5.10 After a couple of games the hard disk is being accessed continuesly and the only way to use the PC normal is to restart the computer. Would be nice to be able to enter the highscore by typing the words instead of using the up and down keys.

Very nice game, hope it keeps being developed. Thanks.

Re: Freezes Ubuntu posted by komakino on Jan 7 2007 9:28 AM
Very strange about the disk access...apart from writing the high score file the hard disk shouldn't be accessed once the game is loaded as all the sprites and levels are loaded at start-up. I'll look into it, though it works fine on here so I'm not sure how I'm going to reproduce the error.

re: entering high score - I tried to get it so you could type a name, but my meagre C++ skills prevented me from working out quite how to do it so I resorted to a fixed length name (i.e. initials). When I figure out how, I'll have it so names can be typed in!
Hi, I've made a few changes to HHH. I'm not sure how good the changes are though, so I'll just post about it here rather than make an update. The changes are:
  • Bonus items that appear randomly (well, A bonus item - more to come)
  • Rewrite of some animation code which should cut disk access
  • Level 3 is now slightly easier - I thought it was a bit tricky before!

Now, I'm not sure if there's a slowdown bug in the new code, so YMMV. Let me know how you get on. Download version 0.2.a (don't know HOW that versioning came about...) available from Sourceforge.net project page
Re: New version posted by komakino on Jan 9 2007 11:34 AM
Re: New version posted by komakino on Jan 9 2007 11:35 AM
Sorry, download is Here. Stupid HP did relative addressing...
Re: New version posted by komakino on Jan 9 2007 11:35 AM
Sorry, download is Here. Stupid HP did relative addressing...
Re: New version posted by anonymous on Jan 9 2007 9:49 PM
But did it do relative addressing? :)
Re: New version posted by komakino on Jan 24 2007 11:56 AM
lol!
Anyway, after some consideration I've removed the bonus items because they were badly implemented. At the moment I'm trying to get rid of the lag mentioned. Version 0.2.b on sourceforge may go some way towards doing this.
Re: New version posted by anonymous on Feb 2 2007 11:13 AM
Level 3 a bit easier? It's almost impossible to pass level 2 without losing 2 lives... An easy setting would be nice :)
Re: New version posted by komakino on Feb 2 2007 3:14 PM
I must have been testing it too much I guess, cos apart from level 3 I find them pretty easy now!
Anyway, if you'd like to make level 2 a little easier, you can edit the map file (they're all in plain text format). The . (full stops / periods) are normal pills, the # are walls and the 'p' are the power pills. Just edit /usr/local/games/hhh/maps/map3.dat in a text editor and replace a . with a p ;)

On a related note, there is a new version out, but it's only to fix an issue with make install on linux / bsd systems (the hiscore table was created in make install, it's now handled in game).
Cool little game, tis very cutesy and I especially like the ghosts :D Will be interesting to see how you develop/improve it, good luck!
On Ubuntu Dapper installation failed. Ive succeeded in the previous version to install it.

After make:

g++ -I/usr/include/SDL/ -DDATA_INSTALL_DIR=\"/usr/local/games/hhh\" -DSCORE_DIR=\"/home/tfrmb/.hannah\" -O2 -o hhh -lSDL -lSDL_image -lSDL_ttf -L/usr/X11R6/lib/ -lSDL_mixer Level.o Animation.o AnimationFactory.o Sprite.o Player.o Ghost.o Ghost1.o Ghost2.o Ghost3.o Food.o Bonus.o pacman.cc Animation.o: In function `Animation::Animation(char*, char*, bool, char*)':Animation.cc:(.text+0x928): undefined reference to `__stack_chk_fail' Animation.o: In function `Animation::Animation(char*, char*, bool, char*)':Animation.cc:(.text+0x14a8): undefined reference to `__stack_chk_fail' collect2: ld returned 1 exit status make: *** [main] Error 1

Re: installation failed posted by komakino on Jan 25 2007 12:24 AM
Did you do a make clean first? It may be that some .o files from my system were left lying around.
Re: installation failed posted by TfrmB on Jan 25 2007 6:16 AM
Yep, that was the problem. Thanks, works great.
fyi The slow down after every live respawn is still present. I don't really mind, but it could be related to the more serious problem someone discribed (ubuntu freeze/crash)
So the odd versioning system continues!
Here's my latest offering for HHH. I found a nasty memory leak and fixed that - hopefully those people who had freezes etc will find this helps matters. There's also some new animations for blue and pink ghosts to make them a bit more interesting.

As always, let me know what you think (and if you're any good with valgrind, see if you can find any more leaks!)
Re: Version 0.2.d posted by TfrmB on Feb 10 2007 1:41 AM
Appears the new version needs GLIBC_2.4 and that's not available in the ubuntu repos. I'm using Dapper (and I'm planning to use this for at least another year), like a lot of Ubuntu/Linux users. Would be nice if installation of hhh was Dapper compatible :)

Anyway, good to see development continues!
Re: Version 0.2.d posted by anonymous on Feb 10 2007 2:13 AM
i'm using edgy for the compile...if you build from source it will work fine.
Re: Version 0.2.d posted by TfrmB on Feb 10 2007 3:29 AM
I tried installing from source, but got an error message and assumed it was glibc related just like the deb install.
message:

make: *** No rule to make target `/usr/include/SDL/SDL_stdinc.h', needed by `Animation.o'. Stop.
Re: Version 0.2.d posted by komakino on Feb 10 2007 3:41 AM
No, the deb install is glibc related because it's a binary - the source is happy with whatever glibc is on your system. As for the error you have, I have no idea how you've got it because I don't recognise the file it says you need, nor do I use it. I can only assume either:
1. I've left some object files lying around (do make clean first), or 2. You don't have the SDL development files installed. You need dev packages for SDL, SDL_image/mixer/ttf installed to compile.
Re: Version 0.2.d posted by anonymous on Feb 25 2007 12:17 PM
It's possible that the error is caused by my Makefile. I could construct one manually and see if it improves matters.

Log in or register to rate this game or post a comment.