How do I change solid behavior when sprite angle changes

Get help using Construct 2

Post » Tue Nov 18, 2014 8:08 am

Greetings,

I am attempting to make a square sprite change from solid to non-solid depending on its angle.

I have a key set to rotate the sprite clockwise at 90 degrees and a key to rotate the sprite counter-clockwise at 90 degrees. I need the sprite to change from solid to non-solid at 90 degrees clockwise and 90 degrees counter-clockwise and only at those angles. At 0 degrees and 180 degrees the object can be solid (top and bottom of sprite). I don't see an event where angle =, I only see 'Is between angles', 'Is clockwise from', and 'Is within angle'.

I am getting back into Construct and it's been years since I have last touched it and I might be missing something vital.

Thank you.
B
10
S
2
G
2
Posts: 87
Reputation: 1,274

Post » Tue Nov 18, 2014 9:01 am

.............
You do not have the required permissions to view the files attached to this post.
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Tue Nov 18, 2014 9:57 am

Thank you very much, Korbaach! :)
B
10
S
2
G
2
Posts: 87
Reputation: 1,274

Post » Tue Nov 18, 2014 10:31 pm

I have one more question regarding this.

When the Platform is standing on the sprite when the rotation happens and the sprite solid is set to disabled it does not fall through immediately. The Platform has to move off of the sprite and move back on to fall through. Is there any simple way to fix that?

Thank you,
B
10
S
2
G
2
Posts: 87
Reputation: 1,274


Return to How do I....?

Who is online

Users browsing this forum: matriax, max2612 and 9 guests