invert bug?

Get help using Construct 2

Post » Tue Jul 02, 2013 6:01 pm

so when i make the same event for a diferent sprite(when i use the invert property), one of them doesnt work, what am i doing wrong?

https://dl.dropboxusercontent.com/u/59745492/Sem%20T%C3%ADtulo.png
B
5
S
1
Posts: 77
Reputation: 754

Post » Tue Jul 02, 2013 6:10 pm

you are setting to normal if your aren't overlapping setaright or you aren't overlapping setaleft

if you can't overlap the two at the same time, it will not work

I guess you should use the tw inverted condition in the same event, so It will not trigger if you are overlapping one of them

Not sure that was the problem, since the question wasn't extremely precise
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Tue Jul 02, 2013 6:18 pm

Never forget the events are read/executed from top to bottom.

If your cursor is over "setaright" it also means it is not over "setaleft". The inverted over setaleft condition beeing the last, it is the one executed last, giving the impression the cursor hasn't changed. (when in fact, the cursor did change when encountering the "is over setaright" condition, but immediatly changed again when meeting the "is not over setaleft" since both those conditions are true)

Try to gather the events/condition that will result in the same action as one "or block" event.
And make sure to put the "is over" event last, since that's the one you'll logically want to see acting.Kyatric2013-07-02 18:19:39
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
293
S
117
G
96
Posts: 7,310
Reputation: 71,069

Post » Wed Jul 03, 2013 10:55 am

ah yes, if i put them in the same event it works, thanks
B
5
S
1
Posts: 77
Reputation: 754


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 48 guests