eastern-flames/eastern flames/scripts/c_tiledist/c_tiledist.gml

3 lines
81 B
Plaintext

function c_tiledist(x1, y1, x2, y2) {
return new vec2(abs(x1-y2), abs(y1-y2));
}