ScratchData LogoScratchData
Back to RobFarley74's profile

Universal UI V1.0

RORobFarley74•Created March 4, 2021
Universal UI V1.0
12
7
146 views
View on Scratch

Instructions

Discussion here: https://scratch.mit.edu/discuss/topic/492036/ So I've noticed there's a lack of UI for Scratch. So I've started to make one that all fits neatly into one portable sprite. The controls are all self contained and function within the single sprite and logic is contained within it. You can read the status of a control using a broadcast and three global variables (seen across the bottom of the screen in this example) Click events are broadcast out and can be captured by other sprites. This demo is still in beta, there's bits to iron out, but basically the nuts and bolts are more or less there. In this demo: There's a Sun Colour button, if you change the selector below it and press the button the sun will change colour. Below that is a toggle button that makes it big and small. There's a button to change the backdrop. And another to open a Dialog box, which you can then close using the OK button on that. There's a label in the top right that's inactive and not clickable proudly displaying my name! And finally two sliders to adjust the colour and brightness of the font. Feel free to remix and improve, give idea etc. Let's talk and see if we can make this really good. Suggestions so far: Fancy pants Fading colour stuff Improve Sliders (they're a bit sketchy right now!) Text input box Vertical sliders Drop Lists

Description

09/03/2021 - Wrapped creation of controls into blocks to make it easier 10/03/2021 - Added pages to the UI so you can have multiple pages of UI without needing to show / hide individual elements. A control can also exist in "all" so will show in all pages regardless of what the page is set to. Demoed here with the Advanced Settings / Basic Settings button at the bottom. - Button click auto repeat fixed 11/03/2021 - Added vertical sliders

Project Details

Project ID496387828
CreatedMarch 4, 2021
Last ModifiedSeptember 12, 2021
SharedMarch 6, 2021
Visibilityvisible
CommentsAllowed