You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Just a random reflexion.
I think the angle_get_subimg function's name is quite specific. The function doesn't refer to anything sprite or image related stuff in itself.
It returns the portion's index of a "pie" that contains the input angle, right ?
I could use that to get the index of a circular area around an object, with the mouse cursor, for example XD
The text was updated successfully, but these errors were encountered:
Oh, now that you mention it, you're absolutely right! I had given it the "subimg" suffix because I initially used it to point the sprite's direction based on the angle haha (like in the Club Penguin game). I'll consider changing it.
Hello,
Just a random reflexion.
I think the
angle_get_subimg
function's name is quite specific. The function doesn't refer to anything sprite or image related stuff in itself.It returns the portion's index of a "pie" that contains the input angle, right ?
I could use that to get the index of a circular area around an object, with the mouse cursor, for example XD
The text was updated successfully, but these errors were encountered: