Problem with Interactive Text Game
Rittenhouse
Member Posts: 305
Ok! I've been playing with this idea for some time and I can't quick get it to work in gamesalad...
I am trying to make a game where you type in things using keyboard input and it affects the world around you.
For some reason, GS does not like this.
Right now, I'm telling GameSalad to put the user keyboard input into a text attribute.
Then a rule says: When the text attribute contains a certain word or phrase, another attribute is triggered.
For some reason, it works with numbers but not text.
Any thoughts? Thanks!
Ex: User types in "red". Block next to them turns red.
Comments
Hi @Rittenhouse
i know you're an experienced GSC guy but I guess we all overlook things occasionally... what I'm suggesting: you certain you've made your text attribute text and not integer?
Here's a small test if I've got you right, hope it helps you.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
EDIT: OK I got it! I was entering in my trigger text as an expression! DOH!
Thanks for your help.
You're welcome.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps