One question solved, the next one appears ^^
I’m trying to make my hero invincible, once he was hit by an enemy. This works just fine, but I want him to be animated. Something similar to the incincible state of super mario. Sadly, the setOpacity(double) only exists for Node. GraphicsContext.setGlobalAlpha(double) results in the whole stage flickering.
So how can i make my javafx.image of the Player flicker?
Greetz and Thx
Half_NO_oB