Game Development Community

Buttons changing its positions

by gamer · in Game Design and Creative Issues · 03/21/2006 (6:15 pm) · 1 replies

I created a few buttons, set their positions and horizontal sizing and vertical sizing, and then after a few reloads back into the game, the buttonss positions changed so that they are now offscreen, what's going on?
thanks

#1
03/22/2006 (2:54 am)
I think you need to set the position to "relative" otherwise they move when you use a different resolution. When you are creating the GUI you can choose one of three (I think) sizes to work with. Whichever one you use, the buttons will move if your game preference uses a different resolution on startup. Using relative positioning will fix that.