Game Development Community

SOLVED - GuiBitmapCtrl turns custom background pink

by Kyle Brechin · in Torque 3D Professional · 12/15/2010 (10:17 pm) · 3 replies

Using 3D SDK 2009 1.0.1.

I'm having a problem with the .png I'm loading into my MainMenuGui as a new background image.

The image is in the art/gui folder as it should be, but when go to view changes via F10 it either doesn't load or the image comes up bright pink and barely visible.

I've tried changing it on GuiChunkedBitmapCtrl - MainMenuGui && GuiBitmapCtrl - MainMenuAppLogo.

I've googled several tutorials on the subject and followed them to the 'T', many of which were straight from here, but I don't understand why the image is coming up like so.

The only thing I can think of is a problem with the image itself, which was made in Photoshop, I'm stumped!

If you need anymore info on the problem, let me know and I'll provide what I can.

#1
12/15/2010 (10:50 pm)
Photoshop isn't the best when it comes to PNG. There's a free plugin, SuperPNG, that does a better job and gives you more options. Try using it to export the PNG file.

www.fnordware.com/superpng/
#2
12/15/2010 (11:11 pm)
Thanks, I'll give that a shot and see how it works out.
#3
12/16/2010 (9:21 pm)
Rex, thanks a lot.

It was a problem with Photoshop and the .png, problem solved! Strange how Photoshop somehow affected the image.