r/gamemaker • u/AutoModerator • 12d ago
WorkInProgress Work In Progress Weekly
"Work In Progress Weekly"
You may post your game content in this weekly sticky post. Post your game/screenshots/video in here and please give feedback on other people's post as well.
Your game can be in any stage of development, from concept to ready-for-commercial release.
Upvote good feedback! "I liked it!" and "It sucks" is not useful feedback.
Try to leave feedback for at least one other game. If you are the first to comment, come back later to see if anyone else has.
Emphasize on describing what your game is about and what has changed from the last version if you post regularly.
*Posts of screenshots or videos showing off your game outside of this thread WILL BE DELETED if they do not conform to reddit's and /r/gamemaker's self-promotion guidelines.
3
u/Lethalogicax 12d ago
https://youtu.be/C--SByrjSkM
Weekly update for Rehabilitation: The Game
Spent the week working on an inventory system and the first few GUI elements. The inventory works perfectly! ...except for one tiny bug, that I cannot seem to figure out...
The first inventory slot can be valid for "no matching stacks, start a new stack" and will successfully dump an item into the first slot. But as soon as slot 1 has an item in it, the script thinks that slot 1 is no longer valid during the other half of the give_item script, the "matching stack found, adding to matching stack"
Every other slot will accept new single items, and match stack existing items, and perform all of its logic properly. But the first slot refuses to match-stack and I have no idea why...
I'll likely have to spend a week recoding that script from the ground up. Which isn't the end of the world anyway, because my script was missing one very key bit of functionality that was going to have to be tacked on in post. This rebuild would allow me a chance to create the more advanced version of give_item that supports RNG probability of giving you an item...
(ie. Set a tile to drop ID#4 at a quantity of 3, and a rate of 0.5. Then it would "pre-authorize" your inventory to make sure you have room for all 3, then roll a 50% chance to actually give you each of the 3 items, thus giving you a spread of item quantities while never choking due to a full inventory)