A downloadable tool for Windows

Download NowName your own price

The GML functions lengthdir_x() & lengthdir_y() are often used for calculating the rotated position of one instance relative to another, usually a projectile relative to its emitter.  

But choosing the correct len & dir arguments can be tedious.  That's where LengthDir GML Generator comes in — just point & click to generate your code!

Rated 3.0 out of 5 stars
(1 total ratings)
AuthorGirkov Arpa
TagsAutomation, GameMaker, Generator, Math, Rotation, Simple, sourcecode, Top-Down, Top down shooter, Tutorial
Average sessionA few minutes


Download NowName your own price

Click download now to get access to the following files:

v0.1.0-win-x32.zip 2 MB
Source Code (v0.1.0-win-x32) 71 kB
if you pay $49.99 USD or more


Log in with itch.io to leave a comment.


We need a Linux version my guy 🙏

You can have the source code if you build it for Linux and let me upload it here 🙂