hello.
I’m trying to apply a flash effect when I hit an obstacle, but it doesn’t work, why?
Hey, I think the flash action should be placed inside the repeat event. Right now it’s in a standalone event and triggers on every frame without conditions.
Place it in a repeat event doesn’t cause the same reaction, could there be another reason?
What do you mean by this? Can you explain more what’s happening, and what you want to achieve?
I can’t guess mush from this event alone, but if you have multiple dungnew colliding with the thing at the same time, then you may want to move it to a sub-event and add a condition.
- Sub-event:
(invert) hoya is flashing → flash hoya
One more thing, if you have more than one hoya, then you may also want to flip the collision condition:
- hoya is in collision with dungnew
1 Like