Please note that if you use my scripts, all I ask is that you give me credit in your game as Programming Support (my most common username is "Zackonark").

[COMPLETED SCRIPTS]Download is the name

~Equations

includes the distance formula, direction in degrees, step function, polar equations, and dot products

includes the distance formula, direction in degrees, step function, polar equations, and dot products

- Code: Select all
`VARIABLE = script_execute(scr_equations,equation id, x1, y1, x2, y2, radius1, radius2, angle); /* EQUATIONS */ // 0 = Distance formula (requires: x,y,x2,y2) // 1 = x polar equation (requires: x,radius,angle) {for circular mobility} // 2 = y polar equation (requires: y,radius,angle) // 3 = step function (requires: x) {returns values left of the decimal point} // 4 = dot product (requires: x,y,x2,y2) {quadradic method (2 dimensional)} // 5 = dot product (requires: radius,radius2,angle) {polar method (2 dimensional)} // 6 = angle between points (requires: x,y,x2,y2) //just enter 0 for arguments that aren't required for the formula you want to use`

DONE

HALF WAY THERE

STARTED

NOPE

///////////////

~none at this time~

HALF WAY THERE

STARTED

NOPE

///////////////

~none at this time~

Steps:

1) right click on the "Scripts" folder in your project's file tree in Gamemaker Studio (left-most part of the screen)

2) click "add existing script"

3) select the script you downloaded

1) right click on the "Scripts" folder in your project's file tree in Gamemaker Studio (left-most part of the screen)

2) click "add existing script"

3) select the script you downloaded