How to make text appear for longer?
payallal
Member Posts: 2
Hi! I just downloaded GameSalad, and its been easy to learn so far. However, I'm unable to figure out how to keep the text on the screen for longer than a second. I have tried using the timer attribute in which I set it 'for' 5 seconds. But somehow, that doesn't seem to work. I am using a mac.
Would really appreciate your help.
Best Answers
-
gyroscope I am here.Posts: 6,598
Hi, sure, try this:
Timer: For 5 seconds run to completion Display Text YourText
The above is so you don't have to wait a minute before it starts - so it's for a one-off. Then more rules to continue as you want:
Rule: When gotext is true Timer: For 5 seconds run to completion Display Text yourText Timer: Timer After 5 seconds run to completion Change attribute gotext to false Timer: Every 60 seconds run to completion Change attribute gotext to true
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Answers
Hi @payallal Are you showing a Display Text behaviour with a "When touch is pressed" rule?
If so, either make it to show when touch is released, or, make a boolean called ShowText
Rule: When touch is pressed
Change Attribute showText to true
Rule: When ShowText is true
Display Text
Or.. it could be that your actor showing the text is falling off the screen.... uncheck its Moveable attribute, see if that helps.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Hi @gyroscope ! Thanks for your answer. I'm just trying to get some text to flash on the screen every 60 seconds for a duration of about 5 seconds. The Moveable attribute is unchecked. Any suggestions?
It worked! Thank you for helping!