Hello,
I have a layout twice bigger than my window, so you often can't see all of the enemies. When an enemy launch a big attack, I want the player to be informed of it with an exclamation point (!) or something, so WITHIN the window, at a relative X and Y position.
So if the enemy is left to the window, the warning sign should get the same Y position, but have a X position right to the enemy, visible by the player.
I've tried lots of expressions, like "viewport", but I can't get a satisfying result. Could someone give me a hand?
Many thanks.