Not logged inGosu Forums
Forum www.libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / Hot and Cold - Ludum Dare 30 entry
- - By jahmaican Date 2014-08-25 08:22
48 hours is not very much time. Especially when you're me and waste more than a half of it. Still, I managed to create all of art and game mechanics from scratch. And no levels.

Yeah, so the code is chaotic and redundant and there's lots of weird logic that's not even properly tested, but it seems to work. Even if it hurts to read (seriously, don't). I didn't even have a debugger, okay?

I'm not too happy with the result, but that's only because I ran out of time right after finishing the tutorial. 2 more hours and I'd make it into something at least decent. At current state it could only be considered a prototype.

Enough talk, links!
Windows build
Github
LD page
Blog posts (drama included)
Parent - - By jlnr (dev) Date 2014-08-25 08:47 Edited 2014-08-25 08:53
:D I guess the concept would work if the levels were complicated enough that you'd bump into the mana limit really quick. Like having a maze of fires & barrels, and only one way through it that you can afford. I still really like the perspective (and want to write a game in that perspective myself now :P)

Great to see that full screen mode works! But the perspective is a little distorted on my 21:9 screen. Edit: You can simply pass 336, 192 straight into super and have Gosu do all the scaling for you - it even adds black bars at the top/bottom or left/right sides for you, and of course the mouse coordinates will (should) be translated accordingly. Worked fine for me here in a quick test.

The font is a little hard to read on OS X - makes me wonder if Gosu needs a flag to disable anti-aliasing?

Did you simply run Ocra on it for the Windows build? I'm relieved that it worked! :)
Parent - - By jahmaican Date 2014-08-25 09:18
Hooray for platform dependences. On Windows Image::from_text (main text below) is scaled perfectly with no antialiasing, and Font::draw (button test) somewhat different, but still not bad (just don't ask why I mixed the two methods).
http://www.ludumdare.com/compo/wp-content/uploads/2014/08/screen8.png

Of course I had in mind pretty complicated levels, not only with fires and barrels but also water, lava, rocks, guards and stuff, but... 48 hours :)

Build was made with releasy. Other than some fuss about rake version, I had no problems.
Parent - By jlnr (dev) Date 2014-08-25 15:52
Oh wow. I guess making sure fonts render (mostly) the same on all platforms is a good challenge for Gosu 1.0 :) Not something that I can fix right now. In this case, I guess you would have to render all text at a higher resolution and then scale it down to make it look better on OS X.
Parent - - By jahmaican Date 2014-08-25 11:50
By the way, why can't Song play MIDIs? Is there a reason for this? I had to convert my music to .ogg and that's like +20MB for people to download.
Parent - By jlnr (dev) Date 2014-08-25 15:41
I know, I wish Gosu support MIDI files, but MIDI playback is weird on all platforms, especially Linux. From the SDL2_mixer documentation:

> Timidity:
>   Mixer supports playing MIDI format files using software wavetable via an old version of timidity. This requires you to have a GUS compatible set of sound patches on your system. By default, the library looks for these patches on Win32 in C:\timidity, and on UNIX in /usr/local/lib/timidity/.


I think it would be easier to convert MIDI files to XM or a similar format, and integrate MikMod into Gosu on all platforms.
Parent - - By jahmaican Date 2014-09-16 05:17
Hot and Cold is now officially #654 game of Ludum Dare 30. I was hoping for top 500, but still I got to the better half! (and top 200 humor, how cool is that!?)
Parent - By ml Date 2015-08-14 20:41
Jahmaican, I always like your projects, and this is no exception. Congratulations on the top 200 placing for humor in LD.
Up Topic Gosu / Gosu Showcase / Hot and Cold - Ludum Dare 30 entry

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill