Bitmap buttons blurry after re-sizing screen
by Dennis Lamers · in Torque Game Engine · 05/28/2015 (3:28 am) · 2 replies
Hey all,
I've made a main menu with bitmap buttons. When ever I change the screen resolution of the game, the images become a little blurry/weird. They also move from position with one or two pixels.
All of the buttons have the same prefs as below in the code.
I've made a main menu with bitmap buttons. When ever I change the screen resolution of the game, the images become a little blurry/weird. They also move from position with one or two pixels.
All of the buttons have the same prefs as below in the code.
new GuiBitmapButtonTextCtrl(JoinButton) {
canSaveDynamicFields = "0";
Profile = "GuiButtonProfile";
HorizSizing = "relative";
VertSizing = "relative";
position = "0 320";
Extent = "300 70";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
Command = "Canvas.SetContent("JoinServerGui");";
hovertime = "1000";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "./menu/JoinButton";
};About the author
Creator of Peekarica and Blockland Classic Mod.
#2
05/28/2015 (10:41 am)
Thank you very much. What about if the resolution is changed to 800x600, do the buttons also shrink with it?
Torque Owner Nathan Martin
TRON 2001 Network
Options that do not dynamically resize the control on parent control resize:
center
right
center
bottom