need help with something

Get help using Construct 2

Post » Fri Dec 30, 2011 1:05 am

I need help with inventory. How to arrange the objects in each window by any order (as in games rpg)

CAPX: http://dl.dropbox.com/u/44710358/thronn.capx
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Fri Dec 30, 2011 1:26 pm

any ideas?
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Fri Dec 30, 2011 1:32 pm

I dont quite understand your question, and the CAPX doesn't help much.

If you are trying to dynamicly place sprites on a rooster, you could take an array and store the x,y coordinates of the roosterfield in there, then retrieve them as needed...
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Fri Dec 30, 2011 1:34 pm

i mean Placing object on whole inventory menu
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Fri Dec 30, 2011 1:38 pm

sound just like what I said....

If you dont want to use an array i guess you can use an "invisble" sprite for each slot in the menu and than use these sprites to spawn your items in place.Weishaupt2011-12-30 13:38:18
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Fri Dec 30, 2011 3:13 pm

Put all the inventory items in different animation frame of ONE only sprite.
Then resend your capx I'll show you.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Jan 01, 2012 6:15 am

It would be easier if you make a pre-defined iventory, for example, a HP potion, if the value is 0, player can't use it. When he colects (or buy) a HP potion, the value increases so he can use it, and when used, it substract a value from potion.
B
27
S
7
G
6
Posts: 34
Reputation: 4,881

Post » Sun Jan 01, 2012 2:23 pm

Yeah with potions but if i want to equip a weapon or other items i must have system of replace items in slots
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Wed Jan 04, 2012 12:03 pm

Is this issue solved, or is there need for another tutorial?
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Wed Jan 04, 2012 12:20 pm

maybe someone have another solution of creating ebook ? ?
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Next

Return to How do I....?

Who is online

Users browsing this forum: Nifl and 30 guests