0 votes

All I'm trying to do i position a popup in my game. After so much frustration, I came to ask here. Why can't I position my popup above the x origin line and have it also above that line in game?? I'm so perplexed. The popup stops short of going above that line no matter where I position it.

in Engine by (24 points)

Hi Pluto1. Can you share some screenshots so people in the forum can see the problem? Also, if you can share how you are positioning the popup (in a script?), maybe somebody can help with that.

Ope you know what, I kinda sorta figured it out. I guess I was hung up and didn't do full due diligence. Turns out the popup stops short of appearing anywhere outside of the viewport when I run the game. However, my world that I want popups to appear in (in a fixed location) is 100x larger than the viewport. I don't know how to access the viewport, though.

I already have camera that follows the player, Edit: I just need to place able to place popups outside of the "main" viewport and still have them appear in that location

I need the answer to this as well.

Lol well this is old. I haven’t touched Godot in awhile and I can honestly say with confidence I remember that I just used something else (not a popup) and coded and added elements to it as I needed, to act like a popup. Basically… in reference to my problem I just decided it was impossible. So use a different element, not a “popup” specifically, and work with it similarly.

1 Answer

0 votes

I thought a view port's size and texture were easily accessible in game.

by (58 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.