HUGE new update now up!
Sprite Button Plugin - v0.5a
Download Now(with example) - 109KB
Adds/Changes/Fixes:
ADD - Check box button type added. Along with these come new conditions/actions for using them(C-Button is ticked, C-Button is ticked by ID, A-Tick button). Check boxes can be ticked from the start(which is represented in the layout editor) and display different text while ticked. A special "Check box" properties section appears when this button type is set.
ADD - Two-state button type added. These have the same features as check boxes but resize like normal buttons and allow for icons.
ADD - Confine text option in the edit-time properties. When checked the text will be confined to the borders of the button. Unchecked will allow text to go outside the edges of the button.
ADD - Actions for altering text attributes: text, font, color, size, position, offset values, ticked text.
ADD - Actions for setting group and identifier values. NOTE: Groups are a feature that will be used for radio buttons in the future.
CHANGE - Edit-time properties have been shifted around and added to different groups for clarity and usability.
CHANGE - Behaviors are no longer allowed for the sprite buttons. This would mess with the collision mask offsets on check boxes and radio buttons.
CHANGE - Button clicks are now detected through collision detection, meaning buttons can now be whatever shape is desired. The collision mode must be set to per-pixel for this to work.
FIX - Confined text could go off the edges of the button.
Just a warning to those with CAPs already using this: I've done as much as I can to make sure that existing CAPs don't break, but I can't be 100% sure. It's best that you back up your files before trying out the new plugin.
Well, that's about it. The included example shows off both check boxes and non-square buttons, so it should give people a pretty good idea of how things work.
As always, PLEASE be sure to respond with feedback and any problems you have. If you find a bug, be sure to report it to me!
Have fun.