init
This commit is contained in:
commit
0556f63d2d
119 changed files with 2908 additions and 0 deletions
16
objects/obrocket/Create_0.gml
Normal file
16
objects/obrocket/Create_0.gml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
rocketSpeed = 10; //тек. скорость
|
||||
rocketTurnRate = 180; //скорость поворота
|
||||
|
||||
destination = instance_create_layer(obCursor.x, obCursor.y, "Instances", obMarker); //точка назначения
|
||||
destination.host = id;
|
||||
|
||||
destAngle = point_direction(x, y, destination.x, destination.y); //угол назначения
|
||||
|
||||
alarm[0] = 10;
|
||||
|
||||
lx = 0;
|
||||
ly = 0;
|
||||
|
||||
damage = 5;
|
||||
|
||||
owner = obSpaceship;
|
||||
Loading…
Add table
Add a link
Reference in a new issue