Pick by comparison advanced

Get help using Construct 2

Post » Fri Nov 01, 2013 3:24 pm

I recently made a topic called "pick by comparison" and the answer worked perfect but, I noticed a way to cheat in my game so by fixing this I must tweak this script a little but I don't know how to it. So my script is this:
event:
for each (ordered)
ice.y
ascending

action:
ice start fade
stop loop


so that's what I have so far but how would I make it so it makes the ice that doesn't have any ice above it dissapear and not just the ones at the top.
B
8
S
2
Posts: 15
Reputation: 630

Post » Fri Nov 01, 2013 4:30 pm

Descending instead of ascending?
If that's not it, can you explain in more detail what you want to do?
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Fri Nov 01, 2013 4:39 pm

well in my game I have it so the player is on an island of ice and the ice melts away but i only want the ice that is on top to melt away and not the ice in the middle
B
8
S
2
Posts: 15
Reputation: 630

Post » Fri Nov 01, 2013 4:59 pm

Middle = higher y than other ice blocks and lower y than some others, yes? I don't think it would melt away by a function like this.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Tue Feb 04, 2014 2:19 pm

@constructchris
This is might be what you are trying to accomplish:
Break_Blockalextro2014-02-04 14:20:19
ImageImage
B
105
S
46
G
23
Posts: 778
Reputation: 22,226


Return to How do I....?

Who is online

Users browsing this forum: ChoosyZerk, lukewasthefish and 15 guests