playMaker

Author Topic: Issues with GUI Text in 2D Project[SOLVED]  (Read 2388 times)

Phillament

  • Playmaker Newbie
  • *
  • Posts: 44
Issues with GUI Text in 2D Project[SOLVED]
« 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.
« Last Edit: November 28, 2013, 02:23:51 AM by jeanfabre »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Issues with GUI Text in 2D Project
« Reply #1 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?

Phillament

  • Playmaker Newbie
  • *
  • Posts: 44
Re: Issues with GUI Text in 2D Project
« Reply #2 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Issues with GUI Text in 2D Project
« Reply #3 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

Phillament

  • Playmaker Newbie
  • *
  • Posts: 44
Re: Issues with GUI Text in 2D Project
« Reply #4 on: November 28, 2013, 02:03:17 AM »
Oh wow, that range fix cleared things right up! Thanks!! ;D