Creating a Simple Inventory System in GameMaker - Tutorial
Vložit
- čas přidán 27. 07. 2024
- In this video let's start from nothing and create a simplistic inventory system that we can expand on and implement into our own games!
🎈 Support 🎈
Seriously anything from a comment, to a thumbs up is showing me support. If you want to go the extra mile check out my Patreon content at / gamemakercasts
You can also checkout my website at gamemakercasts.com/
🕒 Chapters 🕒
00:00 - Introduction
00:15 - Inventory Class
03:55 - Inventory Object
04:29 - Inventory Object | Create Event
05:45 - Inventory Object | Step Event
08:55 - Inventory Object | Draw GUI Event
10:50 - Testing the Inventory
11:15 - Using / Spawning Items
13:06 - Thank you!
I loved how simple this was - I didn't need a full-blown inventory. Well explained!
Its a great tutorial but I feel like you did not do such a great job explaining what everything does so, I feel like I did not learn that much, but it worked so that's good enough. Thanks.
Great tutorial. Please note the link to the website doesn't work in the description.
thank you
Great job! - Any chance you could expand and add stacking, sorting and equipping in future videos ?
great tutorial! (btw, title says "Simply" and i think it it was meant to be "Simple"?)
Yup! Lol.. thanks. All fixed
i have no clue if you still check the comments but, when writing the add function the "if(array_length(_inventory) < _max_inventory_items)" gives me a error saying "the type 'undefined' appears where the type 'Array' is expected."
double check your variable _inventory then. Array length expects that variable to be an array. That's what the error means.
@@GameMakerCasts the variable was written out the same exact way it was in the vid and no matter what I did the error didn't go away, I just reopened the project because I saw you replied and the errors randomly stopped, regardless thanks for taking the time to reply
Hello, i have issue - when i hit "I" nothing show up. Instead my computer starting crazy and i have to close it with Ctrl+alt+del. Is there any changes? Any ideas? Thanks!
i figure out - i had wrong { } -
But new one rise up - my columes re not clicked when i hit them. Istead of that when i hit somewhere in "space" my columes are hit. Seems like big range of that or smt
Hit me up on discord and i can help you through it discord.gg/jwaCrcSZ
when i tried pressing "i" the inventory did not show up, do you have any idea where i get it wrong? (sorry for my bad english)
To me that means the step event isn't right. Should have something like if(keyboard_check_pressed(ord("I")) { .. }
Are you, by chance, looking for someone to make more tutorials? I feel like I have so many years but want to make tutorials for stuff. I have made games before, even on steam. I ask because I notice it's "casts" not just one guy.
Messaged you through X.. errmmm Twitter
not really that simple, thats alot of information. Not for beginners.
Did not work