MainWindow.xib background image (solved)
by Alebrije Estudios · in iTorque 2D · 07/14/2010 (10:52 pm) · 5 replies
I've read that it's possible to set a background image for MainWindow.xib so that the white flash won't show when an application loads, but so far I've only been able to change the background color, and thus the color of the flashing screen. Could anyone help me out with this? Thanks in advance.
About the author
Alebrije Estudios is a Mex. independent vid game studio. We have 3 main lines of business: in-house developments w/ projects published in the iTunes St., FB, & looking 4 Publisher; advergames; & outsourcing of creative processes. @mike_alebrije
#2
One more thing, someone mentioned in another thread (http://www.torquepowered.com/community/forums/viewthread/109379) that you can make the background a seethrough. I don't know if that means that I can have the window show my game's screen without the white flash or if placing an image this way is the only option. I'm just curios.
07/15/2010 (7:37 pm)
Thanks for the reply, it was detailed enough, don't worry ;)One more thing, someone mentioned in another thread (http://www.torquepowered.com/community/forums/viewthread/109379) that you can make the background a seethrough. I don't know if that means that I can have the window show my game's screen without the white flash or if placing an image this way is the only option. I'm just curios.
#3
Cheers
09/29/2010 (11:51 pm)
I am having trouble getting my image to show. I want my default image to show. When I drag it onto anything, window in the Interface Builder I get no result. Nothing to drag, connecting anything. If anyone could elaborate on how to do this I would appreciate it.Cheers
#4
In the Interface Builder go to Tools>Library
In the library, there's an Image View option. Drag this to your MainWindow.
Now open Tools>Inspector
Click on the Image View you dragged to your window.
In the Image View Attributes the first field is image. If you have XCode open, the menu will show you the images you have in your project's Resources folder.
Just choose your Default.png and save.
09/30/2010 (4:23 pm)
Open MainWindow.xib with the Interface Builder.In the Interface Builder go to Tools>Library
In the library, there's an Image View option. Drag this to your MainWindow.
Now open Tools>Inspector
Click on the Image View you dragged to your window.
In the Image View Attributes the first field is image. If you have XCode open, the menu will show you the images you have in your project's Resources folder.
Just choose your Default.png and save.
Torque Owner Johnny Vo
Sorry if this is not detailed instructions but I'm away from my comp right now.