|
1
|
sweetcon = 0;
|
|
2
|
sweettimer = 0;
|
|
3
|
sweet = 0;
|
|
4
|
table = 0;
|
|
5
|
gameIntroY = 160;
|
|
6
|
gameStartY = 280;
|
|
7
|
state = 0;
|
|
8
|
stateSub = 0;
|
|
9
|
lanesX = 200;
|
|
10
|
lanesWidth = 60;
|
|
11
|
lanesCount = 4;
|
|
12
|
lanesEndY = cameraheight() - 80;
|
|
13
|
lanesFadein = 0;
|
|
14
|
lanesEndFadein = 0;
|
|
15
|
slideSpeed = 10;
|
|
16
|
slideSound = -4;
|
|
17
|
slideRal = 0;
|
|
18
|
slideSus = 0;
|
|
19
|
bpm = 117;
|
|
20
|
bps = bpm / 60;
|
|
21
|
spb = 1 / bps;
|
|
22
|
bpf = bps / game_get_speed(gamespeed_fps);
|
|
23
|
beats = 0;
|
|
24
|
beatsPrev = 0;
|
|
25
|
flashAlpha = 0;
|
|
26
|
bigFlash = 0;
|
|
27
|
frameRate = game_get_speed(gamespeed_fps);
|
|
28
|
tileLayer = layer_get_id("TILES");
|
|
29
|
spriteLayer = layer_get_id("SPRITES_SlideTransition");
|
|
30
|
soundTimeStep = 0;
|
|
31
|
fadingOut = false;
|
|
32
|
fadeToWhite = 0;
|
|
33
|
fpb = frameRate * bps;
|
|
34
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (0, fpb, 4);
|
|
35
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (1, fpb, 8);
|
|
36
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (2, fpb, 12);
|
|
37
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (0, fpb, 12);
|
|
38
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (1, fpb, 16);
|
|
39
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (3, fpb, 16);
|
|
40
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (2, fpb * 0.5, 20);
|
|
41
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (1, fpb * 0.5, 20);
|
|
42
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (0, fpb * 0.5, 24);
|
|
43
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (3, fpb * 0.5, 24);
|
|
44
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (0, fpb * 0.5, 28);
|
|
45
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (3, fpb * 0.5, 28);
|
|
46
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (3, fpb * 0.25, 28.5);
|
|
47
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (0, fpb * 0.25, 29);
|
|
48
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (1, fpb * 0.25, 29.5);
|
|
49
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (2, fpb * 0.25, 30);
|
|
50
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (1, fpb * 0.25, 30.5);
|
|
51
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (3, fpb * 0.25, 30.75);
|
|
52
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (0, fpb * 0.25, 31);
|
|
53
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (1, fpb * 0.25, 31.5);
|
|
54
|
scr_slidebeatbulletscr_slidebeatbullet
function scr_slidebeatbullet(arg0, arg1, arg2)
{
var _lane = arg0;
var _frames = arg1;
var _targetBeat = arg2;
var _positionX = lanesX + (_lane * lanesWidth) + (lanesWidth * 0.5);
with (instance_create_depth(_positionX, -30, 0, obj_slidebullet))
{
framesAway = 999;
frames = _frames;
targetBeat = _targetBeat;
image_alpha = 0;
}
} (3, fpb * 0.25, 32);
|