I doesn't work in the release build...
by Tim "Zear" Hammock · in Torque Game Engine · 02/13/2002 (3:48 pm) · 4 replies
What a nightmare. I have my own bitmap based button. The mouse-overs work fine in the debug build, but not in the release build. Gah. Anybody have any ideas?
(whoops! _It_ doesn't work...)
(whoops! _It_ doesn't work...)
#2
Josh
02/14/2002 (4:25 am)
The number one thing to look for is uninitialized variables. The debug build will initialize ints to 0, and the release won't.Josh
#3
I'm still digging...
02/14/2002 (10:45 am)
It looks like it may be related to texture handling. My fault I'm sure. When I short-circuit the code in the component's onRender() method to use the mouseover image at all times, it still displays the normal (non-mouseover) image.I'm still digging...
#4
I noticed that other strangeness was beginning to ensue. On reflection, I realized I had not closed the project in VC (nevermind shutting down VC or the machine itself) in nearly a week. I had saved and rebuilt everything (several hundred times), but apparently Windows or VC was beginning to descend into madness.
So I rebooted. Been so long since I changed from Win98 to Win2000, I forgot how well that can work...
The component works fine now. Grrr.
I thank you for your support. :]
02/14/2002 (1:24 pm)
Mebbe I should change my nick from Zear to RedHerring... I noticed that other strangeness was beginning to ensue. On reflection, I realized I had not closed the project in VC (nevermind shutting down VC or the machine itself) in nearly a week. I had saved and rebuilt everything (several hundred times), but apparently Windows or VC was beginning to descend into madness.
So I rebooted. Been so long since I changed from Win98 to Win2000, I forgot how well that can work...
The component works fine now. Grrr.
I thank you for your support. :]
Torque Owner Tim Gift