I want to have blinking platforms in my game. I use flash. In the manual, it says "The Flash behavior makes an object blink by toggling its visibility on and off for a period of time."
I tried this:
https://www.dropbox.com/s/sss9pghl1ioy9 ... h.png?dl=0
But it disabled the solid completely, not just when it's invisible.
What can I do to have a blinking platform that is solid when it's visible and not solid when it's invisible?
if you want to you can do something like create a variable boolean call it visible
And every 5 sec toggle boolean (visible)
and then set if boolean visible is true then enable solid
make object visible
Else then disable solid.
Thus does the blinking you want but you have more control over whats whats you want to occur.
Develop games in your browser. Powerful, performant & highly capable.
How do I toggle something with no input from the user?
I tried "repeat" but it's not working.
? im a bit confuse you didnt explain what is the condition for the toggle to happen. Is it per tick ? is it on location based ? or is it variable check or an Npc Ai that need a toggle or is it the same as above.
The per 5 sec tick didnt let you have a toggle ?