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
hkmg: It is easy to change the color for normal sprites with tags, but it is troublesome for canvas sprites with tags.
Can't we define color1, color2, etc in the first line of canvas sprites the same as what we do in normal sprites? The following serves as an exmaple.
Good idea, not too hard, but not happy with the syntax. It needs to be a value that could never conflict with the argument of any function (to avoid having to check the function name), but still must be valid JSON. Also, colours must be numbered from zero.
hkmg: It is easy to change the color for normal sprites with tags, but it is troublesome for canvas sprites with tags.
Can't we define color1, color2, etc in the first line of canvas sprites the same as what we do in normal sprites? The following serves as an exmaple.
For colour, we can use default palette or hex code.
The text was updated successfully, but these errors were encountered: