A work-in-progress UI engine for Scratch. Right now there are only buttons and checkboxes. Buttons x (left edge) (right edge) y (top edge) (bottom edge) text (self-explanatory) size (text size) style (B is bold, U is underline, S is strikethrough, I is italic. Multiple can be included in this text box, but U and S will cancel each other out due to limitations with the text engine.) align (L is left, C is center, R is right) wrap (whether the text can span multiple lines or not. 1/0, true/false, and booleans all work) Colors are hex or decimal values. Hover applies when the mouse is over the button only. message (what message is broadcast when the button is clicked) Checkboxes x and y (central coordinates) size (pixels outwards in each direction) disabled color (color the box is when unchecked) enabled color (color the box is when checked) check color (color of the checkmark itself) enabled? (whether the checkbox appears on or not. Clicking the checkbox does not directly change this. Rather, the checkbox's on/off value is set to the checkbox enabled variable. If you have multiple checkboxes, you should make a list that syncs with each checkbox.)
0.1 Added buttons 0.2 Added checkboxes In future updates, I'll add text boxes, text fields, and sliders. I may also add dropdown menus, but those are harder to intuitively implement. If you're wondering why all of the costumes are off-center, it's because I used @-Rex-'s Pen Text Engine++ sprite and manually edited the assets in it to change the thumbnail. I chose to do that because every costume in the sprite points to the same asset, which I can easily change by editing the assets; it would be much harder to copy-paste an image across every costume. Apparently, the centering of each costume is set by the project.json, so by me using a different resolution thumbnail, it became off-centered. You shouldn't need to mess with the costumes anyway.