HUGE new update now up!
[size=150:3g3lw1qa]Sprite Button Plugin - v0.5a[/size:3g3lw1qa]
[size=125:3g3lw1qa]Download Now(with example) - 109KB
[color=#6a6a6a:3g3lw1qa]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.[/color:3g3lw1qa]ADD -
Two-state button type added. These have the same features as check boxes but resize like normal buttons and allow for icons.ADD -
[color=#6a6a6a:3g3lw1qa]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.[/color:3g3lw1qa]ADD -
Actions for altering text attributes: text, font, color, size, position, offset values, ticked text.ADD -
[color=#6a6a6a:3g3lw1qa]Actions for setting group and identifier values. NOTE: Groups are a feature that will be used for radio buttons in the future.[/color:3g3lw1qa]CHANGE -
Edit-time properties have been shifted around and added to different groups for clarity and usability.CHANGE -
[color=#6a6a6a:3g3lw1qa]Behaviors are no longer allowed for the sprite buttons. This would mess with the collision mask offsets on check boxes and radio buttons.[/color:3g3lw1qa]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 -
[color=#6a6a6a:3g3lw1qa]Confined text could go off the edges of the button.[/color:3g3lw1qa]
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!