I was able to figure out how to have some text continuously blinking different colors.
I thought using most of the same “code” actions would do the same to the main character’s sprite just for 1 cycle when he hits a power up sprite, but I am not sure why it isn’t working.
I want it to turn from it’s regular colors to tinted blue, back to normal, blue, and back to normal.
I’ve tried the above actions both with and without “at the beginning: Reset timer” Either way, it doesn’t work.
Whenever the timer is greater than 0.2 second, it adds tint to the Main Char. Its fine but after the timer is greater than 0.4 second, it changes the tint again but the timer is also greater than 0.2 second so it changes the tint again. Basically, they are collide with each other.
If I am correct, a good way to solve this problem would be to use Trigger Once in all these events
If you want this action
to only get triggered once when the blue collides with Main Char than add this action to a sub event and add Trigger Once in that sub event.
I tested my example again and it’s works normaly. The Mainchar change from blue to normal color at speed 0.2 seconds. I don’t know why your MainChar stay on blue forever like you said. Probably you make something different. Show your code here for I can see how you made.
Now it blinks blue, like I would like, but it never stops. How do I get it to just do one cycle and then stop until it collides with that object again?
Thanks, I did that, but it keeps blinking even after it is no longer in collision with the other sprite. How do I get it to stop? I would have thought that the setting it to “false” would have done that.
Oh man! Haha. I need to add checking for quotes to my list of things like, “Did you use a capital letter when you were not supposed to, or visa versa?”.
My propensity for typos and being bad at catching them may be my biggest hurdle in learning how to code.
After fixing the quotes, it stayed blue, so I added one more action to turn it back to normal color. Now it works great. Thanks!