O
okatz1992
Guest
Hallo Guys,
i am
completely new new too programming and i just startet with a flappy bird remake ;P
i use this video :
But i have a few problems,
One of this problem is in this codeline
:
alarm(0) =60
spread = 150;
var position
var spread
position = random(300) +spread
// Create the pipes in a random Lacation //
instance_create_layer(room_width, position -spread/2, NamekTreeUpside);
Video Minute 22;
It says : Number of arguments expected - 4, Obtained - 3 (Red Dot )
And if i try too programm the alarm i allways get: Unknown function or script alarm,
So i hope you could help me , i have so much fun but this errors burn my head XD
Tanks a lot
Ps: Complete Coding Line
if (gravity = 0)
{
gravity = 2;
objCOntrol.alarm(0) = 20; here is alarm set !
}
if (dead = 0)
{
vspeed = -20;
image_speed = 0.5;
}
i am
completely new new too programming and i just startet with a flappy bird remake ;P
i use this video :
But i have a few problems,
One of this problem is in this codeline
:
alarm(0) =60
spread = 150;
var position
var spread
position = random(300) +spread
// Create the pipes in a random Lacation //
instance_create_layer(room_width, position -spread/2, NamekTreeUpside);
Video Minute 22;
It says : Number of arguments expected - 4, Obtained - 3 (Red Dot )
And if i try too programm the alarm i allways get: Unknown function or script alarm,
So i hope you could help me , i have so much fun but this errors burn my head XD
Tanks a lot
Ps: Complete Coding Line
if (gravity = 0)
{
gravity = 2;
objCOntrol.alarm(0) = 20; here is alarm set !
}
if (dead = 0)
{
vspeed = -20;
image_speed = 0.5;
}