GUI optimization
Posted: Tue Jul 01, 2008 2:22 pm
During a game, the user can click on a button on the left. But only if the X-coordinate of the mouse is below a threshold, which is the width of the left-anchored panel.
How can we test this condition ? (using the variable mouse_x I suppose and if possible without a hard-coded value)
How can we test this condition ? (using the variable mouse_x I suppose and if possible without a hard-coded value)