Search found 3 matches
- Wed Nov 04, 2020 11:25 pm
- Forum: General
- Topic: SUIT Library -- Anyone have Examples?
- Replies: 1
- Views: 5119
Re: SUIT Library -- Anyone have Examples?
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....
- Sun Jul 12, 2020 10:35 pm
- Forum: Support and Development
- Topic: Lua Class variables shared between objects
- Replies: 3
- Views: 3820
Re: Lua Class variables shared between objects
I added the Lua files to the original post, and I'll check out the topic you posted. It does sound very similar to the issue I'm having. Thanks already!
- Sun Jul 12, 2020 6:51 pm
- Forum: Support and Development
- Topic: Lua Class variables shared between objects
- Replies: 3
- Views: 3820
Lua Class variables shared between objects
Hello! I've been learning Lua and trying to make an asteroid game, and I came upon this issue where I try to make two objects, their position variable is shared. I followed along with the class and inheritance examples in the Lua documentation when making entities. Previously, I had an issue where b...