playMaker

Author Topic: [solved]Gui Label on screen  (Read 2115 times)

stigma

  • Full Member
  • ***
  • Posts: 179
[solved]Gui Label on screen
« on: April 25, 2014, 10:58:43 AM »
Hi,
How to display a Gui Label (a png) on the screen ?
I use Gui Label but it doesn' work.
Thanks
« Last Edit: May 06, 2014, 04:04:32 AM by stigma »

Breadman

  • Full Member
  • ***
  • Posts: 185
  • Derp
Re: Gui Label on screen
« Reply #1 on: April 25, 2014, 07:08:08 PM »
Try "GUI Box", setting the image you want as the background variable.

Make sure  to select the PNG file in the project window, and in the inspector, you should set its type to "GUI".

stigma

  • Full Member
  • ***
  • Posts: 179
Re: Gui Label on screen
« Reply #2 on: May 05, 2014, 08:54:41 AM »
Thanks Breadman but :
how to display the image using a variable used in an object of the stage?
I tried with a loop on a FSM2 to test the variable but it does not work.

I want to make a png appear on the screen when I click to take an object

Thks

Edit :
It's ok. I used "destroy object" but "set visibility" is better.
« Last Edit: May 06, 2014, 04:04:04 AM by stigma »