About DrPetter

Entries

DrPetter's Trophies

Seriously... EVERYONE uses SFXR
Awarded by PoV
on December 15, 2010
Master of Distraction
Awarded by LunarCrisis
on April 21, 2008
The "I'd rather do it in C" Prize
Awarded by philhassey
on March 3, 2008
Glorious Particles Award
Awarded by Cthulhu32
on February 25, 2008
RSS Triumph
Awarded by philhassey
on February 4, 2008
The Über Awesome Sound Tool Award
Awarded by Endurion
on December 19, 2007

Ratings

OveFunInnThePolGraAudHumTecEffFooJou
312224424325
335425555445
3234444233
11122454123
34533453434
2222344433
212333312323
32211343214
4
334124454213
43433444555
434255454444
333235514434
12312332534
2154143515
1344144313
212233213
33243444334
555555555544
3221445425
3233442333
4342554345
21213554225
4343552315
211123522224
2.782.353.082.462.834.044.173.243.353.252.384.11

SteelGolem says ...

hmm reminds me of sim city 2000 and populous :3

NyanNyanKoneko says ...

Demostyle!

sol_hsa says ...

Not quite sure what this has to do with the theme.. on the other hand, I'm not sure if I understand the game either. Great audio and nice graphics though!

philhassey says ...

Fun little non-game :) Bonus for having a text-scroller. Effort points for not doing a side-scroller game :)

Sophie Houlden says ...

I dont know what it is... BUT I LIKE IT! :D

Hamumu says ...

Crashed on startup first try, but the second try worked, so I went with it.

First of all, secret trick: If you pound ground next to the water, so it's at water level, you can then floodfill that ground to erase all the water! This lets you go see the magical edge of the world, where stuff doesn't get erased.

This entry was WAY more fun than at least half of the actual game entries. Really good play control, and I'm glad you got the display worked out, it looks very solid. I don't know why you can floodfill (I guess that's the closest thing you have to a chain reaction...), but it's pretty fun to do. I also enjoyed raising land. I wish I could choose up/down, I got tired of running over somewhere to pound down in order to continue building my mountain.

The head is creepy.

gimblll says ...

I don't get it. Was there a game in there? Nice audio and gfx though, and thanks for sfxr! :)

mjau says ...

zIt's not much of a game, but I had fun just xjumping around with my happy creepy disembodied head, sculpting and floodfilling the landscape. Could'vzxe perhaps worked well as a two-player game, competing for the most squares?

..hm, actually I can move around even as I type this, since the window apparently doesn't care about input focus.

zAnyway, I'd like to give you a billion points just for including a dypp scroller, but there's no category for that, so I'll guess I'll just make you a trophy or something later on. Nice music, sfx and gfx, too.

Deepflame says ...

Well, the game is obviously not finished, but it definitely has potential. The sounds were one of the rare non-ear-splitting few. :)

negativegeforce says ...

although the game isn't complete, what is complete is nice and polished.

TenjouUtena says ...

No game there, obviously.

allefant says ...

The first two times I started it it crashed (using Vista). The third time it would run. You get 5 audio points just for making sfxr :) About the game, the chain-reacting floor should need some explanation (or was there one in the scroller? didn't read it all..) but after I had filled everything I still didn't win. I also wasn't quite sure what the point was in raising/loweing the floor with the mid-air z. Also, z is quite hard to reach on qwertz keyboards, so a minus point in polish for hardcoding it. The graphics and that you wrote an isometric engine in an LD are amazing.

chaotikZA says ...

Fun to mess around with even though there's no real gameplay.

Vaguely reminds me of something I played long ago on the MSX, but I'm not sure what it was.

drZool says ...

Hmmm it's missing something... hmm... aha I know! A waterfall!

Wiering says ...

Wouldn't run in Vista... I got one flash of the game and then Vista says that something is wrong (and gives no info at all!)

Archwyrm says ...

I think there is almost the perfect game here! Somewhere.. Nice work though.

greencow says ...

big baby buddha head, where'd you get those nice sounds??=O

Archive for the ‘LD #10 – Chain Reaction – 2007’ Category

Pelly suggestion

Posted by
Sunday, December 30th, 2007 3:15 pm

Someone asked for a pelly. I made one. It’s simple and boring, but I suppose it’ll do if nothing better comes along.

Here’s a psd file with suitable layers for making variations to suit all the themes: pelly_layers.psd

(I’m too lazy to do them now)

Wordy final entry follow-up

Posted by
Sunday, December 16th, 2007 8:50 pm

Ok. Managed to upload and post the thing properly, so now I can relax and write some stuff about it.

This one was a shaky ride for sure. Throughout the first day I kept a laid-back attitude and sort of held a leisurly pace. Spent a lot of time on IRC and elsewhere, but still got a fair amount of code done. Second day started well, with some bugfixing and new implementation. Halfway through though, I started realizing that I didn’t really know exactly where I was going with this in terms of gameplay, and sensed a wall rising before me.

I was stuck for a few hours incabable of deciding what direction I should go with things and actually considered (briefly) forfeiting the whole thing… I came to my senses though and decided to salvage it as best I could by making some fun gfx and audio. As soon as I got a “living” player character and some sound effects in there it suddenly felt a whole lot better. I should have done that way earlier. With just one or two hours left on the clock I was all inspired again… dang.

The last hour was a blur of stressed music-making, panicked code-juggling to get it playing in the game, and some begging to get a few minutes to wrap things up in a respectable manner before making the final post. But it worked out in the end (sort of).

I just wish I could bend my sense of time/planning to actually fit reality a little better. I always act like I have all the time in the world until I’m literally running right out of it. THAT’s the point where I start doing actual work, and kicking straight into highest gear. If I had started working on the media 5 hours earlier (back when I didn’t do much of anything anyway) I would have had time to properly tweak things and maybe make a “good” song rather than a doesn’t-quite-make-you-rip-your-ears-off one.

Anyway, despite the little crisis and gloomy bughunts I will remember this compo fondly. I did have a lot of fun on IRC over the first day and a half, and the last pull-together of stuff for my entry made all the difference between a sense of failure and modest accomplishment. The final product didn’t end up being a proper game (as usual) but at least I’m not embarrassed of it.

I have an exam in 2.5 hours that I neglected studying for, so I’ll just sleep for a bit instead I think. Life’s tough, but you need to get your priorities straight… I’ll re-take it in March or thereabouts.

As for food, I don’t hold any sort of lightsource to the grand masters who have been posting here, but I did consume something like 10x the amount of sugar that I’d normally do over this time period. Lots of candy and soda, yuk. My tummy doesn’t quite like me atm. Also downed some chicken, pasta, vegetables and milk (which constitutes my staple diet) – and pilsnerkorv!

I kept a slightly more detailed/rambly timelog in my main.cpp which is included in the submission zip. Check it if you’re interested. Oh, also I forgot/neglected to put in some library code that’s needed for the game to compile… tinyptc, portaudio and playmu (which is my sort of in-development musagi playback library, used it for LD9 as well). I don’t see much point in uploading them at this point, but they’re available to anyone who might ask. I’ll have to clean up playmu at some point and upload it to my homepage properly.

Looking forward to checking out all the entries soonish, after some R&R. Congrats to everyone who joined/tried/failed/succeeded!

Final entry! I’m late!

Posted by
Sunday, December 16th, 2007 7:10 pm

Thanks Phil, owe you one there…

Just the link for now, will write post-mortem in a bit.

DOWNLOAD!

drpetter_11.gif

Looks familiar?

Posted by
Sunday, December 16th, 2007 11:58 am

It’s Q*bert!

…not really though, but you can sort of modify the landscape by raising or lowering tiles, and the rest adapts to remove any greater-than-two differences between neighbors (basically a hack to avoid situations my draw sort can’t handle :P)

I’m trying really hard to think of a way to use this for gameplay, but it looks like I might be drawing a blank. There’s another mechanic in there as well though, the chain reaction one, but it’s sort of shaky too.  It would be nice if I could at least come up with some pathetic game-ish behavior for all of it before I start digging my nose into gfx and music… but maybe it is not to be. I should probably start tinkering with gfx for now and see if something comes to mind.

drpetter_09.gif

Yuck, I need to speed this up.

Posted by
Sunday, December 16th, 2007 4:42 am

I’m still spending most of my time hawking the IRC and tinkering with my playlist… I’ve managed to write a little todo list of the most important things remaining, but so far only one (out of 8 or so) has been ticked off. No signs of actual gameplay or chain reactions yet, but they’re next on the list. All gfx are still placeholder and will hopefully be entirely replaced by the end of it. If I spend more than another 4-5 hours without having the gameplay “pretty much done” then I’ll be in serious trouble. I need at least 5 hours for content creation and then a healthy bunch for final tweaking as well. Tick tock.

drpetter_07.gif

Day 1 – it’s over!

Posted by
Saturday, December 15th, 2007 5:19 pm

Yeps. Will try to get a bit of sleep now (a little bit, not too much!), before going at it again tomorrow. I’ve managed to put in a number of things for one day and I guess I should be pleased. Haven’t spent my time very efficiently but I never do. Done maybe 6 hours of work in total so far.

So what I have to work with for tomorrow is this little placeholder guy able to walk 8-directionally and jump/fall on an isometric map. All that’s left of the groundwork is to size the level up, make it scroll and put in some animation code. Then we proceed to game stuff and graphics/audio.

Preparing for the compo I intended to focus primarily on the gameplay and objectives this time around, before doing anything too technical or diving into graphics. So far… no. Will have to keep reminding myself tomorrow that priority #1 is to get it playable and fun if possible. But then again… if it’s still crap when I only have 5-6 hours left I’ll probably leave it like that and make some snazzy gfx anyway, ’cause pretty crap beats crappy crap!

drpetter_06.gif

Slow going

Posted by
Saturday, December 15th, 2007 1:58 pm

It’s been another 4 hours almost, and not much has happened as it seems. I’ve wrestled a bit with drawing order for mobile objects in the isometric world, and I think I’ve got something usable now. It’s not as good as I’d like it, but good enough to move on. I might get back to it later. The main problem is probably that I handle map tiles and sprites similarly, despite map tiles having a clear 3D shape that allows more accurate Z ordering. Maybe I’m just stuck in a stupid line of thought here. My approach is to treat objects as billboards and apply a shaky offset thing to make moving objects from poking through the floor, but maybe I could do it in more of a cube/square fashion, using the isometric coordinate system instead of screen coords… I’ll give that some thought tonight, for now things at least look ok in most occurring cases.

Time to eat some and start putting in a bit of gameplay code. Ideal scenario would be to have the majority of code done tonight so I can focus on media and polish tomorrow (oh, and studying for my exam… but that’s a bonus for if I get some extra time left over ;))

drpetter_05.gif

There be more organized map elements and a placeholder player sprite with shadow. Topmost blue tile is broken, need to figure out why…. oh right, just struck me – I iterate from 1 and up in the drawing loop instead of starting at zero 😛

First signs of life

Posted by
Saturday, December 15th, 2007 9:37 am

Ok, thought of proto-idea last night. Got a lot of sleep. Refined idea this morning in bed and in shower. Started work on framework code etc (kind of happy with it). Finished that after some 2 hours. Put in a few placeholder sprites and coded simple map drawing.

Prediction: Come voting I’ll get flak for blocky graphics and questionable theme adherence. Just the way I like it. At least this time it won’t be a sidescroller.

More info to come as I implement stuff.

maptest

The helm

Posted by
Friday, December 14th, 2007 3:24 pm

Nice and spartan…

Motivational ornaments…

Midnight dinner & X-Files, prep prep prep!

sfxr – sound effects for all!

Posted by
Thursday, December 13th, 2007 6:13 pm

Been tinkering with this over the last couple of days.

EDIT: Official sfxr homepage – http://www.drpetter.se/project_sfxr.html

As the audio geek I am, I find it a bit unfortunate that most LD48 entries are usually silent. I figure it’s probably due to the authors not having a quick ‘n’ easy application at hand for making sound effects and therefore neglecting that aspect of the game in favor of code and, usually, graphics. Even simple sound effects can add a huge amount of immersion and fun to a game, though.

What I present here is, if you will, an MS Paint for sound effects… or something along those lines. It’s meant to make it dead easy for anyone to whip up a few simple sound effects and save them as .WAV files for playback using most game/media libraries like SDL or pygame.

Basic usage involves clicking the left-most buttons to automatically generate random sounds loosely targeted at certain categories. For more advanced users it’s possible to spend some additional time to manually create fairly varied and interesting sound effects.

The interface is based entirely around sliders for controlling sound parameters, along with a few buttons. Even if you don’t want to spend time learning about all the sliders you can still have some fun just hammering away at them and listening to the various sounds that come out.

Hopefully this will mean that there’s no longer any valid excuse for anyone to get N/A in sound!

Download: sfxr.zip (win32, 48 kB) – Latest update: 2007-12-15 (see screenshot)

EDIT: Apparently it sort of works in wine 0.9.50, though with some stability issues. Fortunately though, the good Gerry JJ/mjau managed to port it properly. Here’s a copy of his post:

I ported DrPetter’s excellent sfxr (info) to SDL, so it can now be compiled and run natively in Linux!

Download: sfxr-sdl.tar.gz

Just type ‘make’ to compile. You need SDL and GTK 2.

Source code is obviously included in the portable archive, and anyone is free to use or modify it for anything they please. There’s no need to credit me, although it would be nice if you did. I would also appreciate a little email note if you do create something cool based on my code.

If I get around to making a little update I’ll include source code in the win32 archive as well.

sfxr.gif

[cache: storing page]