1 | function scr_slidebeatbullet |
2 | { |
3 | var _lane = argument0 |
4 | var _frames = argument1 |
5 | var _targetBeat = argument2 |
6 | var _positionX = lanesX + _lane * lanesWidth + lanesWidth * 0.5 |
7 | with (instance_create_depth(_positionX, -30, 0, obj_slidebullet)) |
8 | { |
9 | framesAway = 999 |
10 | frames = _frames |
11 | targetBeat = _targetBeat |
12 | image_alpha = 0 |
13 | } |
14 | } |