[TINS2016] A nonamed point-and-click adventure.
Niunio

Finally, here you have my TINS 2016 entry.

{"name":"610371","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/3\/0390daa9ba6e33b6a0ae15740b9c9821.png","w":800,"h":600,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/0\/3\/0390daa9ba6e33b6a0ae15740b9c9821"}610371

You're trapped in a laboratory cave in the South Pole, and you should escape. I had less time as expected (you know, real life) so the game is very, very, very short. Anyway, I created an almost full point-and-click game engine in about 16 hours. 8-)

The package I submitted has a really stupid bug, so you should use this one I uploaded to Dropbox. The source package includes the explanation of the stupid bug. Please, don't laugh too high. :-[

Source
Windows32 binaries

Windows binaries included full sources too, and should work using Wine in Linux and MacOS.

How to play

Just point and click with mouse. Note that the “use” verb is a bit tricky: Click “use”, then the first object, then the second object and don't move the mouse until the action is finished. If you move it, your avatar will forget what it should use. I know, pretty stupid, but I did the engine in two days.

[edit] I forgot that I titled the game "Snow Cave Scape". :-/

TinoR

I am impressed that you got a working point click engine in 1 day.

I was able to get out of the first room, but guess my character is still stuck
in the south pole haha.

Niunio

But you liked it, don't you?

I'm really tempted to extend and complete it to an actual engine.

GullRaDriel

I tried to build it under Linux, it somewhat built but I had no luck running it.
Here are the build logs:

gull@NiloreaDev:~/Téléchargements/TINS2016$ make
TINS 2016 -
fpc -gl -vh -vw -Mobjfpc -Sh -Si -Fusrc/ -Fusrc/* -FUobj/ src/prog.pas -obin/prog
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.0.0+dfsg-4 [2016/03/22] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling src/prog.pas
Compiling src/application.pas
Compiling src/engine.pas
Compiling ./src/Allegro5/allegro5.pas
Compiling ./src/Allegro5/al5base.pas
Compiling src/application.pas
Compiling ./src/Allegro5/al5font.pas
Compiling src/config.pas
Compiling src/logfile.pas
Compiling src/items.pas
Compiling ./src/Allegro5/al5image.pas
Compiling ./src/Allegro5/al5nativedlg.pas
Compiling ./src/Allegro5/al5ttf.pas
engine.pas(231,38) Hint: Parameter "aObject" not used
Linking bin/prog
/usr/bin/ld.bfd : avertissement : bin/link.res contient des sections de sortie; avez-vous oublié -T?
6214 lines compiled, 0.4 sec
3 hint(s) issued
bin/prog ready!
Finished TINS 2016
To create the documentation, run 'make docs'.

The error when launching prog:

prog: /build/allegro5-6JC_I6/allegro5-5.2.0/src/misc/vector.c:174: _al_vector_alloc_back: Assertion `vec->_itemsize > 0' failed.

I'll test the W32 binary @home this evening.

TinoR

ya I would continue it if your into that type of game, they can take lot of time and be pretty fun to do if you make a big enough story. Im in the progress of a adventure game, that I use lua for the scripting and I hardly do changes to the c code now.

it has a interface like this and only uses still pictures you dont need to use mouse for the gameplay but you can,i might make it into a 3d game after i am done it.

bamccaig

I was able to build and run it in Linux. Wine did not care for the Windows binaries.

I like it. Great work!

Niunio

I tried to build it under Linux, it somewhat built but I had no luck running it.

What Linux are you using? What Allegro version? How did you installed Allegro? What Free Pascal compiler version?

I used Xubuntu 14.04, Allegro 5.2.0 compiled by myself and FPC 3.0.0 and have no problems.

@Tino Restivo: I like that interface. It remembers me some "Ultima" games.

bamccaig said:

I like it. Great work!

Thanks. :)

GullRaDriel

I'm using Debian 4.5.4-1 with allegro 5.2.0-1 and fpc 3.0.0+dfsg-4

Note that it didn't thrown an error when compiling, just a warning.

It just crash when launching it.

bamccaig

Sounds like debugger territory to me...

amarillion

Windows binaries worked for me, I just needed to add some more dlls. I managed to solve the puzzle and get out of the snow. I think it's a nice engine for a point and click adventure. This type of game stands or falls with the story, puzzle and jokes, so it all depends on that whether you should continue. The readme didn't really tell me much more about your plans for the storyline, but if you have good ideas, then go for it.

Bruce Perry

I liked it too - nice and colourful, and the art style has character :)

GullRaDriel

Windows binaries worked for me. It was a nice play.

Niunio

Thanks. :D

I'm really tempted to fill the gaps in the engine, then do an actual game. Unfortunatelly I'm having some real-life(tm) issues right now. :/

I'm using Debian 4.5.4-1 with allegro 5.2.0-1 and fpc 3.0.0+dfsg-4

Note that it didn't thrown an error when compiling, just a warning.

It just crash when launching it.

I don't know what would be wrong with it. If it's only one warning it should be Ok (it did it in my computer too). But yes, it looks like it should be debugged to know whats happening...

GullRaDriel

I think it's related to my allegro version, because the backtrace was about al_vector_something and ttf funcs.

Thread #616286. Printed from Allegro.cc