Description

This function returns the value of a Manhattan distance between two points.

funcDistanceManhattan(x1,y1,x2,y2);

Demo Windows: https://www.dropbox.com/s/g0i7cm0sh5xo937/Demo.exe?dl=0

End User Licence Agreement (EULA).

Version 1.0.0. Published March 28, 2015

Created with GameMaker: Studio v1.4.1567

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


Gravatar

Anonymous 19 December 2018

calculation is incorrect

The calculation for manhattan distance is: abs(x1-x2)+abs(y1-y2)
not what you did: max(abs(x1-x2),abs(y1-y2)).

Package contents

Loading, please wait

What is the issue?

Back to Top