Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_fancy_ripples_Create_0

(view raw script w/o annotations or w/e)
1
u_center = shader_get_uniform(shd_ripple, "rippleCenter");
2
u_rad = shader_get_uniform(shd_ripple, "rippleRad");
3
ripples = [];
4
5
MakeRipple = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
6
{
7
    var _ripple = 
8
    {
9
        x: arg0,
10
        y: arg1,
11
        rad: arg3,
12
        radstart: arg3,
13
        life: arg9,
14
        lifemax: arg9,
15
        radmax: arg2,
16
        col: arg5,
17
        hsp: arg6,
18
        vsp: arg7,
19
        fric: arg8,
20
        thickness: arg4,
21
        curve: arg10
22
    };
23
    array_push(ripples, _ripple);
24
};
25
26
surf_ripples = -4;
27
curves = [animcurve_get_channel(1, "norm"), animcurve_get_channel(1, "slow")];