Created By Sven's Collection 2009
(Last Updated 4th November 2009)
Information:
This open-source convenient little application is designed to be a simple calculator to help some users calculate the equation/functions for their game in mere seconds. Lengthdir Calculator will allow you to load an sprite(animations included), set the origin of the sprite and then define a point. Once loaded it will then allow you to read and output the lengthdir_xy values required to be entered into Game Maker in order to achieve that angle in your game. This is useful for many different reasons including shooting bullets from the tip of the gun no matter what angle. This program features Hot Keys that allow the user to quickly access features of the program. See Below for a list of Hot Keys.
Hot Keys:
[Space] - Set origin to center
[Ctrl+ Space] - Set point to center
[Shift + L&R Keys] - Shifts frames in an animation
[Ctrl + Arrow Keys] - Moves the origin pixel by pixel
[Ctrl + A] - Enable/Disable Animation
[Ctrl + L] - Load Sprite
[Ctrl + C] - Copy Equation to clipboard
Screenshots:

Downloads [.gmk+.exe zipped]:
Download [WHFF]
Mirror [Sven's Collection]
Notes:
Please visit this topic for more information on lengthdir visit this topic: http://gmc.yoyogames.com/index.php?showtopic=336551
Please report any bugs.
Enjoy,
Sven