Author Topic: How to use GuiBitmapCtrl?  (Read 523 times)

I made an image in Paint.NET to start making GUIs and such, but I can't seem to figure out why it's not showing up. I opened the GUI editor, and parented a GuiBitmapCtrl to the window, and when I typed the location of the image in, nothing showed up.
Here's the image:

It's saved as a png, has a size of 388 x 120. I thought maybe I was just typing it wrong, but then I put "base/client/ui/loadingBG" and it showed up. Does anyone know how to fix this?

That's weird... it should work. Maybe just try again. Make sure you're typing it right though, like "add-ons/client_blah/img/image.png". You don't have to type the extension but it doesn't hurt. Note that you can't just add images in zip files after starting the game.

There are a lot of different reasons as to why the image is not showing up, if you could post some code that would be great.

I renamed the file to "Client_New" from just "Stuff" and that seems to have fixed it. Thanks for the help though.