Allegro.cc - Online Community

Allegro.cc Forums » The Depot » [SantaHack 2011] GiftCraft

This thread is locked; no one can reply to it. rss feed Print
 1   2 
[SantaHack 2011] GiftCraft
Peter Wang
Member #23
April 2000

Really nice! The last level is taking a while. How long did it take you to come up with the levels? I imagine most of the time it takes a puzzle designer a lot longer than it takes to solve.

Dario ff
Member #10,065
August 2008
avatar

How long did it take you to come up with the levels? I imagine most of the time it takes a puzzle designer a lot longer than it takes to solve.

The bigger puzzle rooms I had sketched already before even starting coding. Given that I didn't have time to really start coding this until the 21th-22th, I spent the days from the 17th doing the game's graphics, sound, and level design. The smaller rooms used as introduction of new concepts were made quickly with the level editor. :P

But yeah, it takes like solving the same room 3 to 5 times to see all the different approaches the player could try and give it plenty of room to do so with the available pods. I did levels 1-10 in 1-2 hours, while it took me an entire day to make levels 10-20. ;D

Glad to see you're enjoying it tho, you're the first person I hear of reaching the end-game! It's a bit complicated, but it's quite easy to solve if you focus on each part. Didn't want to make the last level not worthy of being the end. 8-)

TranslatorHack 2010, a human translation chain in a.cc.
My games: [GiftCraft] - [Blocky Rhythm[SH2011]] - [Elven Revolution] - [Dune Smasher!]

Polybios
Member #12,293
October 2010

About the crash on Mac OS X again, I had some time to look into it now. It's not caused by the samples not being cleaned up, but it is fixed when I put al_set_default_mixer(mixer) before al_reserve_samples(16) in your main.cpp, which is, I think, what you wanted to do anyway.

Don't know why it's crashing if that is not done, though. It's also fine just to call al_reserve_samples without creating your own mixer and voice, as this seems to create a default mixer. But why the crash? ??? Well, I haven't used Allegro5's audio much yet.

... Now reached level 26... :D

edit:
Finally! The last one was a bit tougher.
Very nice game, Dario! Thank you very much! :)

Dario ff
Member #10,065
August 2008
avatar

Polybios said:

Finally! The last one was a bit tougher.

Congrats! You've earned your rights to brag now. ;)

Quote:

About the crash on Mac OS X again, I had some time to look into it now. It's not caused by the samples not being cleaned up, but it is fixed when I put al_set_default_mixer(mixer) before al_reserve_samples(16) in your main.cpp, which is, I think, what you wanted to do anyway.

Don't know why it's crashing if that is not done, though. It's also fine just to call al_reserve_samples without creating your own mixer and voice, as this seems to create a default mixer. But why the crash? ??? Well, I haven't used Allegro5's audio much yet.

Interesting, thanks for the tip. I think that's because I've been hauling some of this audio code from before A5 had its first initial stable release(same problem I was having with linear filtering), so I just tend to leave code that I don't really remember its purpose other than "making allegro work". :P

TranslatorHack 2010, a human translation chain in a.cc.
My games: [GiftCraft] - [Blocky Rhythm[SH2011]] - [Elven Revolution] - [Dune Smasher!]

 1   2 


Go to: