why have not sub-events else/elseif?

Discussion and feedback on Construct 2

Post » Tue Jan 10, 2012 8:37 pm

@Ashley

That makes sense, but there's one situation in particular that gets kind of clunky without it, checking if no objects have a variable equaling something. I could do a for each and add 1 to a variable if true, and then check the variable... it just seems clunky in comparison, though.

Maybe it could have 'invert picking' or 'don't invert picking' as a parameter like the function object has in CC?
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Tue Jan 10, 2012 8:49 pm

^This

Inverted on collision, or is overlapping, just seems iffy, especially given how negated worked in CC.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Tue Jan 10, 2012 9:29 pm

@Ashley - Not to mention, would it invert all instances of all types picked? That seems potentially very confusing and difficult to control. Personally, I wouldn't want it to work that way at all.

Maybe another possibility is a 'invert picked instances' condition, and then a pick an object to invert, like the pick all condition? It seems like this would allow more control, as it could be done on a per object basis, and would be simpler to understand.Arima2012-01-10 21:35:22
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Wed Jan 11, 2012 7:15 am

example of the curve decision without "else" operator.


must be


or may be have reason made "break" operator.UncleJey2012-01-11 07:23:23
B
25
S
7
G
3
Posts: 32
Reputation: 2,868

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: TRMG and 17 guests