Pretty simple - maybe. I have a camera (current) that follows the player, but I also have a main viewport that is in a static position to the world and contains some UI elements.
When my player dies (queuefree) I create a popup. However, since the camera is a child of the player, I can't display this popup in the same position that the player died (because the player viewport is gone when the player is queuefree() ).
So, how do get my camera to stay at the player's position upon player death (queue_free())?
I assume a better way to go about this is to get the main "world" viewport that is currently static to follow my player instead of having the player's camera child at all, but all the tutorials I've seen only have the camera as a child of the player, and I've looked and looked.
Any ideas on how to solve this dilemma?