Mystery of the disappearing string
I have a level that's larger than the game's dimensions. In the middle of that level is a string object. When I run the game it's not visible. When I enlarge the games dimensions to match that of the level's then it appears.
The string isn't out of view as I've centered the window position in frame as desired.
I'm confused. Does anyone know what's going on?
Re: Mystery of the disappearing string
Is "Follow the frame" checked on the String object? If it isn't (which I think is the case by default), then the string will scroll with the game window, moving it off the screen as you move around.
Otherwise, try unchecking "Display as background" and removing the "Inactivate if far from window" option.
Re: Mystery of the disappearing string
Also, I'm not sure if this is the case here, but check the x,y positions of the string object. If you're centering the string, you could potentially have the string appearing on the center of the frame, but if the string box is sized really wide, the x,y position could be totally out of the frame, causing issues.
It's usually best to resize the string object box so that it fits just around the text you're going to display. It helps when trying to select the object in the editor and also when trying to select objects near the text object.
Re: Mystery of the disappearing string
I turned "Follow the frame" on and it fixed the problem.
Thanks for the help. Another mystery solved.