Here it is if anyone is interested: http://twolivesleft.com/ItsYouOrMe/Updated/Web.html
@John, I love that one
I’ve been feverishly working on a prototype, and am using my holiday break to code on that, so I’m not doing the competition…BUT, with regards to the beta sound thing, I actually just hacked this together last night to allow me to share the code with others who do not have the beta build, so they can still have some sound effects. It’s basically just a substitution: specify the SFX asset name, and if that is in the subtitution list, it will instead grab the substitute SFX data and play that. AFAIK everything works okay, but it’s not been thoroughly tested. Thought this might come in handy for some folks doing the competition; if the player has a beta build, they’ll hear the new hotness; everyone else will here the old style sounds. In the code below, just add your sound substitutions to the ‘substituteFX’ table (I’ve left all my sound subs there as an example, feel free to remove any you don’t want), and then just call sound(whatever) like you normally would (with your beta sfx of course). If the sound is found in the substitute table, it will be played instead. If the sound is already an old-school type sound or a sound buffer, it should still work as normal. Lemme know if this is useful, or if you have any issues with it!
-- Audio
-- settings
-- set to false to disable sound completely
local enableSound = true
-- set to false to use non-beta sfx
local useBetaSFX = false
-- implementation
local nop = function() end
local __fakeSFX = setmetatable({}, {
__index=function() return 0 end, __newindex = nop
})
if enableSound then
if not useBetaSFX then
-- TODO: map your sound fx here
local substituteFX = {
["A Hero's Quest:Pick Up"] = {SOUND_PICKUP, 24633},
["A Hero's Quest:Bottle Break 2"] = {SOUND_EXPLODE, 24631},
["Game Sounds One:Radar"] = {SOUND_PICKUP, 24726},
["Game Sounds One:Dropzone"] = {SOUND_RANDOM, 24625},
["Game Sounds One:Pop 2"] = {SOUND_BLIT, 24617},
["Game Sounds One:Jump"] = {SOUND_RANDOM, 24629},
["Game Sounds One:Alien 1"] = {SOUND_RANDOM, 24642},
["A Hero's Quest:Hurt 5"] = {DATA, "ZgBALQA8QFU/PwQuK/PMPCoFKz8eHsG9YgAYSkg9Jz4vKFwv"},
["Game Sounds One:Land"] = {SOUND_HIT, 4680},
["Game Sounds One:Punch 3"] = {SOUND_EXPLODE, 4646},
["Game Sounds One:Punch 2"] = {SOUND_EXPLODE, 4684},
["Game Sounds One:Pillar Hit"] = {SOUND_EXPLODE, 4655},
["Game Sounds One:Zapper 1"] = {SOUND_SHOOT, 4650},
["Game Sounds One:Zapper 2"] = {SOUND_SHOOT, 4656},
["Game Sounds One:Horror Howl 2"] = {DATA, "ZgBAQABEPh1tP0An70Wxu+FwAD/QUjc9UABGT0dBYEFAbltZ"},
["Game Sounds One:Pistol"] = {SOUND_EXPLODE, 2747}
}
local procSounds = {
[SOUND_PICKUP] = true,
[SOUND_EXPLODE] = true,
[SOUND_POWERUP] = true,
[DATA] = true,
[SOUND_SHOOT] = true,
[SOUND_BLIT] = true,
[SOUND_HIT] = true,
[SOUND_RANDOM] = true,
[SOUND_JUMP] = true,
[SOUND_PICKUP] = true,
[SOUND_NOISE] = true,
[SOUND_SQUAREWAVE] = true,
[SOUND_SINEWAVE] = true,
[SOUND_SAWTOOTH] = true
}
local __sound = sound
sound = function(name, ...)
local s = substituteFX[name]
if s then
return __sound(unpack(s))
end
s = procSounds[name]
if s then
return __sound(name, ...)
end
if type(name) == "userdata" then
return __sound(name, ...)
end
return __fakeSFX
end
music = nop
end
else
sound = function() return __fakeSFX end
music = sound
end
I am working in an idea with a castle and a man falling:
It would be helpful if we could see a bit more code. ![]()
Falling through space and time? http://puu.sh/5Zq8K.jpg
So… When is this actually due? January 1? What time and time zone? I like to run up against the wall.
Original post by Mark:
The deadline is the last tolling of the midnight clock ringing out 2013.
The official time zone is that of Adelaide, Australia, which is one of those time zones which has an... interesting offset from GMT. UTC/GMT +10:30 hours
That puts the end of the contest at 8:30 AM of December 31 for those on the East Coast of the United States. (other sites are left as an exercise to the student)
@Prynok - Thanks. There are so many posts, it’s kind of hard to read them all. 6:30 AM. Uhg.
@Zoyt and remember that’s 0630 dec 31st, so if you are like me we are losing just over half a day :). Code fast my friend.
So 13:30 December 31st PST?
No, if mark’s calculations are correct, then 0830 am EST is 0530 PST December 31st. I live on EST so I have not bothered to calculate and see if his original calculation is correct. However I know my grandparents who live on PST are three hours earlier than me. So 0830 my time is 0530 their time as I have found out accidentally at times by rudely waking them up.
Well darn. Guess I’m pulling an all-nighter on the 30th. Must make up for lost time
You and me both friend.
@skullagepk nice colors!
@skullagepk, you’ve been working on this since before the contest was even announced…
OK - here is my entry: Well Racer
“Ding Dong Bell, there’s spacemen in the well! Race Poppet, Butch or Ginger to the bottom of the well by drawing lines to create platforms to alter the spaceman’s trajectory. Collect stars for points (the faster you fall the bigger the bonus) but watch out for skulls. Bump other competitors for added points. Big reward for reaching the bottom first but don’t be last! Arrows along the bottom of the screen indicate upcoming bonus positions. X indicates a skull. Successive wells get deeper and deeper. Good Luck!”
Code here
https://gist.github.com/Westenburg/8139969
Development thread here
http://twolivesleft.com/Codea/Talk/discussion/4343/cook-off-wip-well-faller#Item_15
And video here
http://youtu.be/Ok0ZsM3bB7c
@Skullagepk, You aren’t allowed to use projects that were made before the competition
Look nice West, i’m doing something similar
Good job
I’ll post some code and video later ![]()
Here’s my entry
http://twolivesleft.com/Codea/CC/alpha/index.php?v=1231
You’re in your spaceship, it’s almost going to explode, your emergency shuttles are all gone, and there’s only 1 thing left for you to do… JUMP!
Collect coins as you fall into an endless space and dodge asteroids. As an alien, you have a special power, you can mess with the time and space.
Touch the screen in order to slow the time a little, but be carefull, space will mess up and asteroids will be closer onto eachother or even intersect.
Buy upgrades for more “fuel” for you special power or buy upgrade the regeneration of it.
Tilt your device in order to move left or right.