|
1
|
snd_play(snd_motor_upper_2, 1, 0.25 + pull_pitch);
|
|
2
|
pull_pitch += 0.125;
|
|
3
|
alarm[0] = reverse; gml_Object_obj_titan_biglaser_Alarm_0.gml
snd_play(snd_motor_upper_2, 1, 0.25 + pull_pitch);
pull_pitch += 0.125;
alarm[0] = reverse;
reverse = scr_approach(reverse, 4, 2);
with (instance_create_depth(x - 140, y, depth - 1, obj_bulletparent))
{
_modifier = 2;
image_xscale = 1 * _modifier;
image_yscale = 2 * _modifier;
sprite_index = spr_finisher_explosion;
image_index = 6;
image_speed = -0.5;
image_blend = c_white;
speed = 2;
direction = 0;
gravity = 2;
gravity_direction = 0;
scr_lerpvar("image_xscale", 1 * _modifier, 0, 10);
scr_lerpvar("image_yscale", 2 * _modifier, 0, 10);
scr_script_delayed(instance_destroy, 10);
}
|
|
4
|
reverse = scr_approachscr_approach
function scr_approach(arg0, arg1, arg2)
{
if (arg0 < arg1)
{
arg0 += arg2;
if (arg0 > arg1)
return arg1;
}
else
{
arg0 -= arg2;
if (arg0 < arg1)
return arg1;
}
return arg0;
} (reverse, 4, 2);
|
|
5
|
with (instance_create_depth(x - 140, y, depth - 1, obj_bulletparent))
|
|
6
|
{
|
|
7
|
_modifier = 2;
|
|
8
|
image_xscale = 1 * _modifier;
|
|
9
|
image_yscale = 2 * _modifier;
|
|
10
|
sprite_index = spr_finisher_explosion;
|
|
11
|
image_index = 6;
|
|
12
|
image_speed = -0.5;
|
|
13
|
image_blend = c_white;
|
|
14
|
speed = 2;
|
|
15
|
direction = 0;
|
|
16
|
gravity = 2;
|
|
17
|
gravity_direction = 0;
|
|
18
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_xscale", 1 * _modifier, 0, 10);
|
|
19
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("image_yscale", 2 * _modifier, 0, 10);
|
|
20
|
scr_script_delayedscr_script_delayed
function scr_script_delayed()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed);
__scriptdelay.script = argument[0];
__scriptdelay.alarm[0] = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
} (instance_destroy, 10);
|
|
21
|
}
|