Framework usage examples (please add suggestions) #10
focustense
started this conversation in
General
Replies: 2 comments 3 replies
|
1 reply
|
Please add a Minimal Reproducible Example MRE too, just a complete mod with nothing else than a simple UI Popup when a Game Event (eg Keypress) happens. I have spent multiple hours now looking at the TestMod without getting a single Working UI In Game, it is just way too convoluted and overloaded to understand when you are already have no grasp. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to provide a good, clear set of maybe 5-10 examples covering everything from introductory material ("how do I create a simple menu") to very advanced usage (nested repeaters, included views, and generally anything with complex behavior). The best examples would be UIs that modders have actually made and found somewhat difficult, or are thinking of making but haven't pulled the trigger - again, because difficult.
Please add any suggestions here. There is no need to actually create the examples - I will do that as part of the docs/testing - I'm simply looking to understand what people might want to do with the framework.
Note - I'll probably use my own Garbage In Garbage Can as one of the examples - redone as StarML, of course - and see that as kind of a middling example; it's not terribly complex but it does have a grid, repeater, scrolling, etc., so it's not beginner-level either. Suggestions on both the easier and harder end of the spectrum would be great.
P.S. This doesn't have to be limited to menus. AFS uses StardewUI for some of the HUD as well. Right now, there isn't an API for creating a HUD through StarML, but it's easy to add if there are any compelling examples. Examples could also include config menus that were difficult or involved tradeoffs in GMCM; AFS has its own custom config and the Radial Menu config also involves a bunch of nutty hacks to GMCM that would be less of a mess in StardewUI. I'm happy to take on any examples like these from other people's mods or idea bins.
All reactions