Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Ludum Dare thread.

This thread is locked; no one can reply to it. rss feed Print
Ludum Dare thread.
Niunio
Member #1,975
March 2002
avatar

My girlfriend asked me why I will not participante this week end, and I've said that I don't know, and she said that I must do it. I love her.

So, since the previous thread is closed, I've open this one. It will be 3 a.m. here un Spain when LD starts, so if some body press the Speed Hak's spin-o-matic, please post the result here and let's hace some fun.

-----------------
Current projects: Allegro.pas | MinGRo

SiegeLord
Member #7,827
October 2006
avatar

Alright, here's some Rule-O-Matic produced rules combined with the Ludum Dare theme(s):

Genre requirements

Two button controls! Growing!

Technical requirements

There are 2 technical requirements:

Final Boss

The game must have a final boss to defeat. This does not limit you into an adventure or action game! Even Tetris Attack featured "bosses" of sorts.

Just a minute

The main gameplay must take exactly one minute to complete, whether the player(s) win or lose.

Artistic requirements

There are 2 artistic requirements:

Brainwashing/Propaganda

It doesn't matter what the idea is, but the program should stamp it in at every available moment, or let it sub-consciously sift into the user's mind. The more complicated idea the better. The more effective the better. Please make note of what you are trying to bring over, so it is verifiable.

Mutating visuals

The game must continually change its visuals - distorting, changing colour, or changing the shape of playfield altogether - the more creative you get, the better.

Bonus rules

There is 1 bonus rule:

Act of Politician

Hide your incompetence! If one rule is too tough for you, omit it by putting in a distraction that kicks donkeys. F.i. if one rule says you must have a high score table, you should make the UI look like if there was one, but when game ends, interrupt everything with lots of eye candy and great music. Or with a neat bonus mini game.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Mark Oates
Member #1,146
March 2001
avatar

What is it 48 hours?

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

SiegeLord
Member #7,827
October 2006
avatar

48 hours for the competition, 72 for the 'jam'. I've got stuff to do, so personally will be doing the 48 hour version.

EDIT:

Alright, figured out twitch (again): http://www.twitch.tv/siegelordex

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Elias
Member #358
May 2000

Hm, that's pretty hard speedhack rules - only 60 seconds, but also have a boss. If you can defeat him in 60 seconds that doesn't sound like much of a boss to me...

--
"Either help out or stop whining" - Evert

Niunio
Member #1,975
March 2002
avatar

Fortunatelly, there is a bonus rule. Also, you can pick one or both Ludum Dare's rules.

Let's ser what happens.8-)

-----------------
Current projects: Allegro.pas | MinGRo

SiegeLord
Member #7,827
October 2006
avatar

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Elias
Member #358
May 2000

I was away Friday night, then spent all Saturday looking for a new apartment and spent some hours today video-taping some childrens' xmas performance - so couldn't really partake. But in the few hours of coding I could fit in I made a game nevertheless :)

The idea was that I'd have several levels, each to be completed in 60 seconds. You play as Old Mother Frost (not sure how well known she is in English speaking countries...) and you have to pave the way for Santa Claus to deliver his presents. There would have been different types of terrain like one which he can't touch and one which melts snow, and other kinds of obstacles. Anyway, this is what I've got:

{"name":"609964","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/c\/ecf4e144e389f6e659f691eef9b34030.png","w":1285,"h":725,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/c\/ecf4e144e389f6e659f691eef9b34030"}609964

download: https://www.allegro.cc/files/attachment/609965

--
"Either help out or stop whining" - Evert

Niunio
Member #1,975
March 2002
avatar

Finally I couldn't do anything. :'(
Ugly week-end for me. :(

-----------------
Current projects: Allegro.pas | MinGRo

SiegeLord
Member #7,827
October 2006
avatar

Quote:

Finally I couldn't do anything. :'(
Ugly week-end for me. :(

Yikes, hope it wasn't anything serious.

Elias said:

But in the few hours of coding I could fit in I made a game nevertheless :)

That's incredible, I'm amazed at how good the snowflakes look. Unfortunately, it looks like crud on my end:

{"name":"609966","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/7\/b7646430856505faa106cb3457f45fc5.png","w":1920,"h":1080,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/7\/b7646430856505faa106cb3457f45fc5"}609966

I think we have some serious issues with bitmap locking...

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Elias
Member #358
May 2000

Hmp. There is no locking involved in creating the tree at all:

#SelectExpand
1void tree_segment(float x, float y, float h) { 2 Color c = al_map_rgb(0, 150, 50); 3 float v [] = {x, y - 2, x - h - 2, y + h + 2, x, y + h * 3 / 4 + 2, x + h + 2, y + h + 2}; 4 al_draw_filled_polygon(v, 4, c); 5 c = al_map_rgb(0, 200, 0); 6 float v2 [] = {x, y, x - h, y + h, x, y + h * 3 / 4, x + h, y + h}; 7 al_draw_filled_polygon(v2, 4, c); 8} 9void make_tree(Bitmap * sub) { 10 al_set_target_bitmap(sub); 11 float y = 50; 12 float h = 40; 13 for (int i = 0; i < 5; i++) { 14 tree_segment(40, y, h); 15 h /= 1.5; 16 y -= h / 1.5; 17 } 18 al_set_target_backbuffer(al_get_current_display()); 19} 20void init(void) { 21 ... 22 g.sheet = al_create_bitmap(w, h); 23 ... 24 g.tree = al_create_sub_bitmap(g.sheet, 0, 40, 80, 80); 25 make_tree(g.tree); 26 ... 27}

I suppose I simply nee to clear the bitmap before drawing into it. We should update the documentation about that :P

--
"Either help out or stop whining" - Evert

SiegeLord
Member #7,827
October 2006
avatar

Ah, haha. That fixed it:

{"name":"609967","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/6\/76290d2148006dbbe3a59b60f08d701e.png","w":1280,"h":720,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/6\/76290d2148006dbbe3a59b60f08d701e"}609967

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Gideon Weems
Member #3,925
October 2003

Elias's game worked fine on my end without any code modification at all. I never realized that clearing the drawing screen was important...

It's a really cool concept. I like how the game manages to be fun, even though it is impossible to lose.

Go to: