UID selection? Minecraft style HUD

Get help using Construct 2

Post » Wed Jul 12, 2017 3:50 am

So I'm attempting to make a scroll list like thing for an inventory (minecraft style) Ive gotten it partway there. I just need help completing it. Sorry for the vague description

Basically, I wanna be able to click on a sprite, have another sprite (row of) Become visible above the one clicked on, and each being and option for the first sprite clicked on. An example is attached to show the incomplete version of it

https://www.dropbox.com/s/79qgmoarowgg7 ... .capx?dl=0
B
8
S
2
Posts: 61
Reputation: 674

Post » Wed Jul 12, 2017 8:53 am

The description is too vague and from the capx I can see that you're not using arrays. I imagine you will have to learn how to use arrays and make use of them for a grid inventory like this.
B
45
S
15
G
73
Posts: 2,002
Reputation: 43,386

Post » Wed Jul 12, 2017 2:10 pm

Additional.
Do not pick by UID the way you do. UID's will change during development.
Instead use Instance Variables and pick based on them.

I have also no idea how you get that HUD on screen.
I dont even know how you make a first row visible, before we talk about a second one.
Beside that, invisible does not make a sprite 'un-clickable'.

I really have no idea where to start.
B
33
S
18
G
27
Posts: 2,436
Reputation: 20,336


Return to How do I....?

Who is online

Users browsing this forum: zsoldiers and 6 guests