Hello everyone,
I am a beginner to Game Maker Studio 2 from Russia, sorry for my mistakes
I made an inventory, I want things to have durtability. But there is a nuance, while reducing the durtability of things, it turns out that it will decrease in all the same things, if there are 2 or more of...
Hi everyone. I've been learning how to use game maker for 4 months now
and I got quite further than I thought i would. Thing is, now I'm starting to
"really" learn how to do things in a semi-professional way.
I already have a character creation setup, and now I want to do inventory management.
I...
I am currently working on a platformer where the player can also pick up items and craft tools.
The inventory system is already set up and working properly. The player should be able to craft tools by dragging two items into a 1x2 crafting grid.
Now I'm wondering, how can I save the crafting...
So I created my sprite chest, made it react with my player's hitbox and works fine. Now I just have to tell what's inside of it and I have no idea how to do it. How can I use the same object chest for various items?
Hi, everyone!
Is there any Inventory system implementation tutorial? I'm looking for a simple one, "SEGA games"-like. Several weapons and consumables, their switching using couple of buttons and ammo pickup as well.
I was trying to implement it by my own, but it seems like I'm stuck in OOP...
Hello, guys!
I decided to display inventory from ds_map using 'Draw GUI' event, but then I wondered, isn't it too expensive getting map values using this event? Because maps are not sorted in any (recognizable) way, meaning that to find a certain key I may have to iterate through the whole thing...
Hey guys,
I have been following this tutorial to set up my inventory system. However, instead of drawing through the draw event as he does, I am now trying to move all of that to the draw GUI event. Problem is, I can't get my items to display in my inventory when I pick them up. Everything else...
Right now I am working on a project, were if you click on an object on screen it will appear in your inventory on the corner of the screen. Here's my code...
if mouse_check_button(mb_left) and position_meeting(mouse_x, mouse_y, self){
for (var b = 0; Invintory_Box != 0; b++){...
Good Morning,
So I've currently got a functioning inventory, that will be able to read from a large database of hundreds of items. However, each item could impact a number of player stats, and I'm curious if the inventory method I'm usually seeing online using data structures and enumerators is...
Hi there,
I'm working on a sandbox game and trying to figure out some simple ways of handling chest/container type objects that store a bunch of other item objects persistently. I'd like some ideas on how people go about this.
Typically these objects that will be contained have multiple...
I wore a code in which every item in the inventory makes Item_add = 1, the inventory creates it inside, then polls the list. The problem is that all things are created in the first cage of the inventory, I don’t know how to make each new thing coexist with the next cage.
CREATE:
Item_add=0...
Hello all, I'm having a hard time coming up with a name that best describes the below feature. In order to explain it best to the player. Or if not name, then some graphical way of indicating what this thing can do.
Essentially, I'm creating an inventory grid system, say 3 x 3 squares. Items...
The Error Code is
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object obj_smelteryGUI:
draw_sprite argument 1 incorrect type (undefined) expecting a...
If you love to change colors in the Final Fantasy 7 inventory this #GameMaker / #GameMakerStudio2 demo will show you how to code and implement such a system in your game - in three different ways. :)
https://mmmfree2dwindowsgames.blogspot.com/p/game-maker.html
RIGHT so, I recently discovered the ease of creating custom items and such with an inventory, but I'm still learning.
For example, I managed to make the inventory have equipment slots for using weapons! Yay! Problem, they have infinite ammo. Now there are ways of using global variables and...
I understand quite a bit of code, but there are isolated examples where I don't fully understand certain bits, like this for example:
// Check Item, then Slot.
//Argument0=Specific Item to put into slot.
//Argument1=Specific Slot for the item to go into.
if (global.inventory[argument1] == -1){...
So I have a working button from an inventory tutorial I saw, but when I tried to make a custom one it didn't work.
///Draw event\\\
var click = mouse_check_button_pressed(mb_left);
var x1,x2,y1,y2;
x1 = view_xview[0];
x2 = x1 + view_wview[0];
y1 = view_yview[0];
y2 = y1 + 104...
I'm trying to make an inventory for an RPG I'm trying to make but I have almost no idea what I'm doing I'm wanting to use DS_grid for this and have a sort of separate screen from the room the character is currently in. So my question is how do I make the grid and how do I make it so that...
So I am trying to make an inventory that is completely opaque when the player holds the tab key, and then fade out when the player releases the tab key. Is this possible? This is my current code:
[in the step event]:
check_tab = keyboard_check(vk_tab);
image_alpha -= 0.05;
if check_tab {...
I'm trying to make an RPG but I have very very little programming knowledge and I can't find a tutorial online to do what I want. I'm wanting a full screened inventory like in a game called tales of symphonia and I want to be able to go into other screens such as items, setting, equip, ect, and...