60 Tons - help from the IRC channel
by kcpdad · 01/01/2014 (5:25 am) · 0 comments
First I want to say Happy New Year to everyone!
There will be a 60 Tons testing event today, New Year's Day, at 3pm EST. That's New York time. Get the latest build here(faster) or here.
I always developed using the 1024x768 resolution but some of my users complained recently about the HUD not working with 1920x1080 resolution and they were right. My elements would disappear or wind up in the wrong spot like right smack in the middle when they should have been off to the side.
Previously I used the horizSizing and vertSizing of relative and relative which seemed to do the trick at first but over time as more and more elements were added more and more problems cropped up.
I switched from designing the 1024x768 to 1920x1080 and changed the default resolution to 1920x1080. Not a smart move, that broke the game for anyone that had a desktop resolution of less than 1920x1080. This was getting frustrating.
One trip to the Garagegames IRC channel and a short chat with Steve_Yorkshire and practicing01 helped me realize the value of using GUIControl and top/bottom, left/right. 30 minutes after changing each element in my HUD I had a working UI in both 1024x768 and 1920x1080 so a big shout out to Steve and practicing for their help.
When you get stuck or just a little down due to frustrations developing your game the IRC channel is a good place to stop by and get valuable feedback.
These are the after images.
1024x768

1920x1080

There will be a 60 Tons testing event today, New Year's Day, at 3pm EST. That's New York time. Get the latest build here(faster) or here.
I always developed using the 1024x768 resolution but some of my users complained recently about the HUD not working with 1920x1080 resolution and they were right. My elements would disappear or wind up in the wrong spot like right smack in the middle when they should have been off to the side.
Previously I used the horizSizing and vertSizing of relative and relative which seemed to do the trick at first but over time as more and more elements were added more and more problems cropped up.
I switched from designing the 1024x768 to 1920x1080 and changed the default resolution to 1920x1080. Not a smart move, that broke the game for anyone that had a desktop resolution of less than 1920x1080. This was getting frustrating.
One trip to the Garagegames IRC channel and a short chat with Steve_Yorkshire and practicing01 helped me realize the value of using GUIControl and top/bottom, left/right. 30 minutes after changing each element in my HUD I had a working UI in both 1024x768 and 1920x1080 so a big shout out to Steve and practicing for their help.
When you get stuck or just a little down due to frustrations developing your game the IRC channel is a good place to stop by and get valuable feedback.
These are the after images.
1024x768

1920x1080

About the author
Hobbyist working on a tank game when time allows. Play the prototype at => http://www.sytrept.com/60tons/
