Game Development Community

Button problem

by Drew -Gaiiden- Sikora · in Torque Game Builder · 07/02/2005 (7:36 pm) · 4 replies

Hey guys, I'm having a slight button issue here and I was wondering if anyone knows what's going on. Here's one of the button images (the _d image)

members.gamedev.net/gaiiden/images/screens/help/controlsbutton_d.jpg
however when I load it and the rest of the button images (_i, _h and _n) it comes out looking like this

members.gamedev.net/gaiiden/images/screens/help/button_help.jpg
All my button images are the same exact size as the one above. Is it too big or something? very weird.

#1
07/13/2005 (10:23 pm)
I recently experienced the same problem with a bitmap image of 382x208, even when I loaded it as a chunked bitmap it still rendered to the screen all skewed. I know those are weird dimensions but it's a dialog box image I was using with my old engine. The dimensions for the button I posted about above are 331x54. Is it the dimensions that is causing this weird rendering effect?
#2
07/28/2005 (1:04 am)
Maybe I should repost this over in the bug reporting forum? No one else has ever experienced this?
#3
07/28/2005 (9:08 am)
Drew,

Resave your button file onto PNG file using non-interlaced format. That should work. I've seen this artifact before.
#4
08/03/2005 (12:33 pm)
Thx Danny! That did it :)