player invinciblity

Get help using Construct 2

Post » Mon Nov 04, 2013 8:30 pm

Simply add the "Idle is not flashing" condition to the collision check event.
You don't need the global variable "IsFlashing" at all to achieve this.
B
11
S
3
Posts: 224
Reputation: 2,028

Post » Mon Nov 04, 2013 11:18 pm

thanks for the help guys...it seems to work, not sure why I have to make things harder than they are...

now im having an issue with the sound going off even when the flashing is occuring...did I place the sound Action in the wrong spot?

B
9
S
2
Posts: 272
Reputation: 1,632

Post » Mon Nov 04, 2013 11:29 pm

http://www.dwbailey.com/images/hearts/

some reason it the invicibility still feels funny...


I run into the squirrel and get hit,,, it flashes...after the flash is over...as long as I am overlapping the squirrel, it wont hurt me because I havent recollided with it....so doees this mean I need to put an overlapping even on it?
B
9
S
2
Posts: 272
Reputation: 1,632

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest