Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » SpeedHack 2014 is this weekend!

This thread is locked; no one can reply to it. rss feed Print
SpeedHack 2014 is this weekend!
Mark Oates
Member #1,146
March 2001
avatar

SiegeLord said:

It's a TINS thing. Anything goes for Speedhack (you have to make it clear what was pre-written, however, in the Readme).

Crap! >:( Now I spilled all my sekrits!

...

One hour to go!! :D:D:D

--
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

pkrcel
Member #14,001
February 2012

Now I spilled all my sekrits!

I wish I'd only understand half of what you've written you dang code obfuscator :'(

It is unlikely that Google shares your distaste for capitalism. - Derezo
If one had the eternity of time, one would do things later. - Johan Halmén

Mark Oates
Member #1,146
March 2001
avatar

Only 10 minutes to go!!!

{"name":"608612","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/7\/871234adde88749181569d87cf376c8a.gif","w":360,"h":240,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/7\/871234adde88749181569d87cf376c8a"}608612

--
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

BAF
Member #2,981
December 2002
avatar

wooooooooooo

Mark Oates
Member #1,146
March 2001
avatar

Rules are up.

Cool rules. 8-)

--
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

Gideon Weems
Member #3,925
October 2003

Yeah, I agree. These rules work well together.

Good luck and have fun, guys!

GullRaDriel
Member #3,861
September 2003
avatar

Rules are OK to me too.

Good luck :-)

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Dizzy Egg
Member #10,824
March 2009
avatar

What exactly must our 250Kb zip contain....not the actual libraries I'm guessing, just a note of what ones we used??

----------------------------------------------------
Please check out my songs:
https://soundcloud.com/dont-rob-the-machina

pkrcel
Member #14,001
February 2012

The makefiles should get in there too, so I guess at least how to build your game should as well.

It is unlikely that Google shares your distaste for capitalism. - Derezo
If one had the eternity of time, one would do things later. - Johan Halmén

Matthew Leverton
Supreme Loser
January 1999
avatar

The source code to your game and to anything that can't fairly be called a third party library. And of course any binary resources (images, music) that are required to play the game.

Dizzy Egg
Member #10,824
March 2009
avatar

Cool, thanks Matthew.

----------------------------------------------------
Please check out my songs:
https://soundcloud.com/dont-rob-the-machina

Thomas Fjellstrom
Member #476
June 2000
avatar

Ah, see I thought that was the case with SpeedHack as well... its been so long :o

I think its a good idea though, to have it out there.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Slartibartfast
Member #8,789
June 2007
avatar

The rules require too complicated a game to complete in the small amount of time I have to spare, and so as predicted I will not be making a game for SpeedHack.

Thomas Fjellstrom
Member #476
June 2000
avatar

You are allowed to be "creative" with the rules.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Mark Oates
Member #1,146
March 2001
avatar

Yea, you could type the letter "E" to have your player gain experience.

--
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

Derezo
Member #1,666
April 2001
avatar

Those rules are pretty sweet. I missed the registration window, but I don't have a lot of time to spare this weekend :-/

Blast!

Good luck everyone!

"He who controls the stuffing controls the Universe"

Matthew Leverton
Supreme Loser
January 1999
avatar

There are always simultaneous complaints of "the rules are too lenient and they don't give me any ideas" and "the rules are too strict and I cannot implement my month old plans."

It just depends on how you approach it.

Slartibartfast
Member #8,789
June 2007
avatar

There are always simultaneous complaints of "the rules are too lenient and they don't give me any ideas" and "the rules are too strict and I cannot implement my month old plans."

It just depends on how you approach it.

The problem for me isn't really the rules, its the date. However, if the rules were favorable for me (i.e. allowed for something simple enough to fit the time frame and yet still enjoyable for me to make) I would have tried making a simple game. The same rules but a month from now would also see me making a game.

Mark Oates
Member #1,146
March 2001
avatar

The source code to your game and to anything that can't fairly be called a third party library. And of course any binary resources (images, music) that are required to play the game.

Quote:

The source code to your game and to anything that can't fairly be called a third party library. And of course any binary resources (images, music) that are required to play the game.

What about downloadable content?

--
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

Dizzy Egg
Member #10,824
March 2009
avatar

Yay! I'm underway! It's 3am here now though, and I'm tired and inebriated so am calling it quits for tonight; I think my original idea of 100 screens might be a little far fetched, so I'm sure I WILL finish and submit an entry, but it'll probably be like 10-15 screens or summat. Anyhoo, here is a snippet of my progress so far, I'm enjoying myself!:

video

----------------------------------------------------
Please check out my songs:
https://soundcloud.com/dont-rob-the-machina

Matthew Leverton
Supreme Loser
January 1999
avatar

What about downloadable content?

Downloading resources to get around the size limit is against the spirit of the rules.

You can upload a second 10MB zip with better graphics, etc, and if people want to judge you on that, it's their prerogative.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Matthew Leverton
Supreme Loser
January 1999
avatar

You have to reserve samples first, or call al_set_default_mixer()

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Still don't have sound playing (and its stuck in the al_rest(0.016) below) :

   global_mixer = al_create_mixer(44100 , ALLEGRO_AUDIO_DEPTH_FLOAT32 , ALLEGRO_CHANNEL_CONF_2);
   al_set_default_mixer(global_mixer);
   al_set_mixer_playing(global_mixer , true);
   
   PlaySoundWait("sounds/Hello.ogg");
   PlaySoundWait("sounds/Hello.ogg");
   PlaySoundWait("sounds/Hello.ogg");
   PlaySoundWait("sounds/IsThisThingOn.ogg");
   PlaySoundWait("sounds/WelcomeToRogueSalesman.ogg");

void PlaySoundWait(std::string file) {

      ALLEGRO_SAMPLE* sound = al_load_sample(file.c_str());
      if (!sound) {return;}

      ALLEGRO_SAMPLE_INSTANCE* instance = al_create_sample_instance(sound);
      al_attach_sample_instance_to_mixer(instance , al_get_default_mixer());
      al_set_sample_instance_playing(instance , true);
      while (al_get_sample_instance_playing(instance)) {al_rest(.016);}
      

      al_destroy_sample(sound);
   }

Can anyone see what I'm doing wrong still?

SiegeLord
Member #7,827
October 2006
avatar

Do the regular Allegro examples work?

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



Go to: