Discuss Scratch
- Discussion Forums
- » Show and Tell
- » Universal Single Sprite UI for use in all projects that need a UI
- RobFarley74
-
100+ posts
Universal Single Sprite UI for use in all projects that need a UI
Project Here
So this is a project I'm working on. It's a UI that is designed to be portable from any project to any project. It's got a few UI elements which over time I will be adding to. The idea is that if you've got a project that requires a UI you won't need to write a whole lot of stuff for buttons, labels, drawing text, selectors, dialog boxes and so on and you'll simply be able to drag this ONE sprite into your project and worry no more of these things!
This is not for the casual scratcher.
But I welcome ideas, suggestions etc to make this better. Obviously this is very early days so it's far from complete. The demo has a sprite bouncing around the screen whilst the UI can be interacted with to modify the what's going on in the consuming sprite. Anyway, take a look, it'll probably make more sense!
Cheers, Rob
So this is a project I'm working on. It's a UI that is designed to be portable from any project to any project. It's got a few UI elements which over time I will be adding to. The idea is that if you've got a project that requires a UI you won't need to write a whole lot of stuff for buttons, labels, drawing text, selectors, dialog boxes and so on and you'll simply be able to drag this ONE sprite into your project and worry no more of these things!
This is not for the casual scratcher.
But I welcome ideas, suggestions etc to make this better. Obviously this is very early days so it's far from complete. The demo has a sprite bouncing around the screen whilst the UI can be interacted with to modify the what's going on in the consuming sprite. Anyway, take a look, it'll probably make more sense!
Cheers, Rob
- RobFarley74
-
100+ posts
Universal Single Sprite UI for use in all projects that need a UI
Updates:
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.
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.
- RobFarley74
-
100+ posts
Universal Single Sprite UI for use in all projects that need a UI
Auto repeating click fixed
- RobFarley74
-
100+ posts
Universal Single Sprite UI for use in all projects that need a UI
Added vertical sliders
- ninjaMAR
-
1000+ posts
Universal Single Sprite UI for use in all projects that need a UI
Very cool!
- Discussion Forums
- » Show and Tell
-
» Universal Single Sprite UI for use in all projects that need a UI