Page 1 of 1

SUIT Library -- Anyone have Examples?

Posted: Mon Nov 02, 2020 2:37 pm
by ThreeFlags
Hi All,

I've used the SUIT library with good success: Suit Documents Here

Does anyone have any examples of using the library with fun and interesting results? (I learn best from examples.)

For example, I'd like to create a number of buttons (like 5) with each having a different color [e.g., red; blue; green; orange; yellow] (without changing the theme), but it's not clear to me from the docs exactly how this is done.

I'd also like to learn more about the library. Anyone have something they'd be willing to share?

Re: SUIT Library -- Anyone have Examples?

Posted: Wed Nov 04, 2020 11:25 pm
by uniscotty
I liked how the inventoryGUI system turned out in this game jam thing I did. You can find the source code in the love file. In the update function, I had some logic that drew an expandable rectangle that once fully expanded draws image buttons representing the players inventory.

https://scottyscoot.itch.io/culthouse-coverup