O
okatz1992
Guest
Hello Guys, i am using this Video to start with Programming :
I have done all right to minute 24:10.
Here is the Code:
ObjControl :
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,NamekTreeUpside);
instance_create_layer(room_width, position +spread/2, Namek_Tree_Reverse,NamekTreeReverse);
Jumping Bird:
if (gravity = 0)
{
gravity = 2;
objCOntrol.alarm[0] = 20;
}
// if bird is alive make him flapp//
if (dead = 0)
{
facing = 10;
vspeed = -20;
image_speed = 0.5;
facing = -25;
}
But the Sprites ( Objectes ) i want to appear does not ...
Game is starting but no pipes are showing up...
Thanks for Help.
I have done all right to minute 24:10.
Here is the Code:
ObjControl :
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,NamekTreeUpside);
instance_create_layer(room_width, position +spread/2, Namek_Tree_Reverse,NamekTreeReverse);
Jumping Bird:
if (gravity = 0)
{
gravity = 2;
objCOntrol.alarm[0] = 20;
}
// if bird is alive make him flapp//
if (dead = 0)
{
facing = 10;
vspeed = -20;
image_speed = 0.5;
facing = -25;
}
But the Sprites ( Objectes ) i want to appear does not ...
Game is starting but no pipes are showing up...
Thanks for Help.