I have created a simple menu with background image and buttons showing over it (video_mode = 8). Now instead of manually entering x/y values to place these buttons, is there any way to position them at the centre of the background image (1024x768) no matter what the actual game resolution be?

Or maybe, is there a way to just centre them all everytime the resolution is changed instead of setting up new values for x/y everytime?

Thanks.


Click to reveal.. (warning)