Puzzle!
No. 172
Puzzle Value: 100/100 Picarats
If there is a llama in your driveway, and you do not poke it, what will happen?
Chuck Norris will kick you in the face for being too much of a newb to do it. It's self explanatory.
200
Now for some scerious questins. What year was the original Super Mario Bros. released?
1985
200
Does this code contain a syntax error?
#define gameCreateEvent
if instance_number(oGame)>1
instance_destroy()
moveableSolidGrav = 1 //how fast moveable solids should accelerate downwards
time = 1
#define gameStepEvent
/**
* The game's step event.
*/
oGame.players[0] = noone //players (used when "with( )" structures will not work)
oGame.players_length = 0
with oCharacter
{
//necessary to reset the "viscid" movement from a moving solid
viscidMovementOk=1
//store the characters in the oGame.players variable
oGame.players[oGame.players_length] = id
oGame.players_length+=1
}
//since we are not using GM's hspeed and vspeed variables, we need to add in decimal support ourselves (so 0.25 will only move 1 pixel every 4 steps, for example)
oGame.time+=1
//we don't want the time to grow too large
if oGame.time>100000000
oGame.time=0
//moves all of the solids so that none of them collide with the character
with oMovingSolid
{
//applies the acceleration
xVel+=xAcc
yVel+=yAcc
//approximates the "active" variables
if approximatelyZero(xVel)
xVel=0
if approximatelyZero(yVel)
yVel=0
if approximatelyZero(xAcc)
xAcc=0
if approximatelyZero(yAcc)
yAcc=0