inventory

Get help using Construct 2

Post » Thu Jun 04, 2015 12:18 am

so i want to make a inventory, i tried following tutorials but they are too advanced for me, i want to make an inventory using array but i dont have enough experience... so the problem is i have the background for my inventory and i want it to follow dat size, but when i try to use an array it doenst follow dat background size and dont know what to do, i wanted to make an inventory where i could have like

wood -> 20
keys - > 1

all alligned. if that makes any sense.

heres what i have -> https://www.dropbox.com/s/lwqamg6rpsd8q ... .capx?dl=0

can someone tell me a good tutorial or maybe give me an capx to see how its done?
B
5
S
1
Posts: 77
Reputation: 754

Post » Thu Jun 04, 2015 8:17 am

An array has got nothing to do with the size of a background, so I'm lost at what you mean..,

To make an inventory first you'd have to have that information somewhere..
An array is one way, another could be the dictionary object or using global variables.
It all depends on your personal needs..

Your capx is kind of not usefull at all for it only shows a black square, has no reference to any inventory items and no direct lead on how you would like to display those items..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest