Crash with blank text attribute
Fetaboy
Member, PRO Posts: 191
I created a game attribute of type text.
I have an actor with a behavior of display text. displaying the text of my created game attribute. As long as there's a value in the new game attribute everything is fine....if I try to run the scene with no value set for the new attribute, gamesalad crashes immediately. I'm trying to have this field start out blank, as I'm using it to build a string via an onscreen keyboard.
I have an actor with a behavior of display text. displaying the text of my created game attribute. As long as there's a value in the new game attribute everything is fine....if I try to run the scene with no value set for the new attribute, gamesalad crashes immediately. I'm trying to have this field start out blank, as I'm using it to build a string via an onscreen keyboard.
Comments
At this point it didn't crash, but it still said 'Hello World' instead of being blank. I then edited the actor from the scene itself (instead of from the list of actors). After saving, I re-ran and it crashed.
I would type a random name like Bob. Make it so when it initially plays the color is gray & alpha is around .5 (play with these to your delight). Many games do this type of thing where it's a gray faded name in place already. Then when the person starts typing it clears it out.
Maybe a little more work, but it's all I got for now!