Never understood "display text"

HunnenkoenigHunnenkoenig Member Posts: 1,173
edited November -1 in Working with GS (Mac)
I don't find anything in the forums about it.

When I want to use the diplay text function, no matter what I am writing into it, it always tells me "hello world"

Am I the stupid here?

Comments

  • For me all I have to do is go into the actor and under the display text behaviour change the box with "Hello world"text in it to whatever I want. Maybe it's a bug in the program?
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    I tried to edit the actor on the screen, I tried to edit the prototype.

    It always shows "Hello World" or doesn't show anything
  • Hmmm sound like a bug. It might be a stupid question but have you tried restarting? Sometimes these things fix themselves.
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    It has been always this way, no matter how often I restarted.

    But, I figured out.

    If you click the "e" or the text field, the expression editor comes up.
    If you write into it, it will show "Hellow World" no matter what.

    If you click the "remove expression" button and then you type into the text field, it will show the text you typed in.

    As soon as you type into the expression editor and hit the green check thingy, it will show "hello world" again.

    Stupid.
  • Thats really odd, sorry I couldn't help.
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    It's okay :-)
    Thanks for trying.
    Important is only that I got it working :-)
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    For those who didn't understand that, (I had to read it a couple of times), when you press the 'e' on any behavior that has it, it opens the Expression Editor.

    If you want to put text in the Expression Editor, it must be within double quotes. "YourTextHere"
    Anything you put into the Expression Editor will be evaluated.

    If you just type stuff directly into the box next to the 'e' in any behavior, it will be treated as plain text.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Hey code monkey are you guys adding any custom font options for display text? the included fonts are really to blah for games wouldn't you agree?
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    Thanks for claryfiing CodeMonkey.

    Sorry if my text was confusing or hard to understand.

    - The main thing is, if you click the standard text field the first time, it brings up the expression editor.
    - If you write into the expression editor and hit the green check button, it won't do anything. Hello World will show up.
    - It is not obvious that you have to use "" in the expression editor.
    - If you hit the "clear expression" button in the expression editor and close the expression editor, you can type into the standard text field. The expression editor won't pop up when you click the standard text field with your mouse cursor again.
    - In this case you can write anything into the standard text field without "" and it will show up on screen in your game.

    Now I tried to "chew everything into your mouth" (like the Hungarians say). I wrote everywhere exactly what I mean.

    I don't want to be rude or something, but I recognize it very often that english and german speaking people can't think subtly. They can't associate unspoken contexts. Everything has to be said and referenced everywhere in a text... it's tireing sometimes :-P
Sign In or Register to comment.