Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Phillament on November 27, 2013, 08:06:05 AM

Title: Issues with GUI Text in 2D Project[SOLVED]
Post by: Phillament on November 27, 2013, 08:06:05 AM
Hi guys,

I'm having a lot of trouble doing something that is seemingly a no-brainer, with playmaker. I'm trying to draw text onto the screen with an empty game object as a sort of GUI text manager. I can't seem to get it to work, though. I've been at it on and off for the past couple days and I'm turning to you guys for guidance.

Any help would be much appreciated.

I've attached a couple screen shots in case it helps.
Title: Re: Issues with GUI Text in 2D Project
Post by: Alex Chouls on November 27, 2013, 08:41:08 AM
Is the position of the GUI Text set up properly? If you disable the FSM do you see the default text on screen?
Title: Re: Issues with GUI Text in 2D Project
Post by: Phillament on November 27, 2013, 05:31:36 PM
I don't quite understand what you mean by the position of the GUI text. I've just placed the empty game object holding it within the view port, like the other game objects.

It still doesn't show up when I disable the FSM. I tried making a new one with just the GUI Text component, and it still doesn't show up. Any idea what could be wrong?
Title: Re: Issues with GUI Text in 2D Project
Post by: jeanfabre on November 28, 2013, 01:50:51 AM
Hi,

 Your gui text is totally out of range, it should be between 0 and 1. How are you computing this position?

Bye,

 Jean
Title: Re: Issues with GUI Text in 2D Project
Post by: Phillament on November 28, 2013, 02:03:17 AM
Oh wow, that range fix cleared things right up! Thanks!! ;D