How do I select different objects on a scene using a list

Get help using Construct 2

Post » Sat Nov 12, 2016 1:33 pm

Hey there, i'd like to make a comparison layout.

My idea is that i get two lists, and two slider bars, i got like 30 invisible object on the scene. I'd like to get the Two objects selected from the list become visible, and the sliders to change the opacity of their respective lists.

Any ideas how can i manage that ?
B
3
Posts: 2
Reputation: 179

Post » Sat Nov 12, 2016 3:02 pm

You can compare selected item text and relate that to an object that would then make it visible at its current location or you could create it in a location. With a slider I guess you could relate the value of the slider 0-100 directly to the opacity so when slider value is 25, opacity is 25. There are many ways you can tweak this though.
B
47
S
17
G
81
Posts: 2,230
Reputation: 48,107

Post » Sat Nov 12, 2016 9:01 pm

sounds easy enough, can i please have an example how to link objects to the list please ?
B
3
Posts: 2
Reputation: 179

Post » Sat Nov 12, 2016 9:21 pm

If you had say 2 objects, an apple and a banana. In the list item 0, the first in the list, is apple. Item 1 is banana. You can use the logic List compare selection, if selected item = 0, make apple visible. If selected item = 1, make banana visible etc.
B
47
S
17
G
81
Posts: 2,230
Reputation: 48,107


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 26 guests