Ldist: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''ldist''' | '''ldist''' <[[gamevar]]> <[[sprite id|sprite1]]> <[[sprite id|sprite2]]> | ||
Calculates the 2D distance between two | Calculates the 2D distance between two sprites. Only x and y values are taken into account. | ||
<[[gamevar]]> is set to the distance between <[[sprite id|sprite1]]> and <[[sprite id|sprite2]]>. | |||
Compare with [[dist]], which uses x, y, and z coordinates. | |||
[[Category:EDuke32 specific commands]] | [[Category:EDuke32 specific commands]] | ||
[[Category:Sprite manipulation]] | [[Category:Sprite manipulation]] |