SUIT Library -- Anyone have Examples?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
ThreeFlags
Prole
Posts: 15
Joined: Fri Jun 05, 2020 3:40 pm

SUIT Library -- Anyone have Examples?

Post 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?
uniscotty
Prole
Posts: 3
Joined: Sun Jul 12, 2020 6:34 pm

Re: SUIT Library -- Anyone have Examples?

Post 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
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Hugues Ross and 48 guests