-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disarm_get_bone_sprite_width and disarm_get_bone_sprite_height #3
Comments
Can you give me an example of how this would be used? I'm not sure what purpose these functions could offer. |
In my case, I need these functions to create particles after a sword. So its like a slash trail. But I need to pass those length values to lenghtdir functions. |
You can currently get the bone width and height by accessing the bone data:
Hopefully this helps for now. |
It does, thanks. Those functions were to make sense with the built-in GML functions for new users of Disarm |
bone.width doesn't return the attached skin's width but just the bone width. Is there a way to do so? I need to know the equipped sword's image length(width) in my case |
Those 2 functions would be awesome as it would save us from the need to have the sprite in both the atlas and in the project.
The text was updated successfully, but these errors were encountered: