Hi all. I'm new to this, so forgive me if my post seems sloppy.
Anyway, I found a game entitled GuessingGame in the Examples folder in Scratch. For those who don't know what it is, it's a game involving a baby that asks what my name is and asks what animal I'd like the baby to turn into. I was impressed when it said my name back to me, but not so much when I asked it to turn into an animal, because no matter what I typed, it always turned into a giraffe, and I don't even like giraffes that much. : \
So, I was wandering if there was a way I could make a game similar to it, only whatever the player types into the answer thing, it could change into it. I know about making different sprites for it and stuff just to clear that up.
Also, is there a way I can make the character answer questions based on what's in the questions, whether it be a particular word or whatever.
I'd appreciate the help guys.
Offline
Jaydeeizsik wrote:
Hi all. I'm new to this, so forgive me if my post seems sloppy.
Anyway, I found a game entitled GuessingGame in the Examples folder in Scratch. For those who don't know what it is, it's a game involving a baby that asks what my name is and asks what animal I'd like the baby to turn into. I was impressed when it said my name back to me, but not so much when I asked it to turn into an animal, because no matter what I typed, it always turned into a giraffe, and I don't even like giraffes that much. : \
So, I was wandering if there was a way I could make a game similar to it, only whatever the player types into the answer thing, it could change into it. I know about making different sprites for it and stuff just to clear that up.
Also, is there a way I can make the character answer questions based on what's in the questions, whether it be a particular word or whatever.
I'd appreciate the help guys.
It sounds quite simple, the hardest thing being getting all the costumes, here's some psudocode:
when gf clicked forever ask [what is your name?] and wait say (answer) ask [what animal] and wait switch to costume (answer)all your costumes need to be named with the appropriate animal's name.
Offline
U can have some costumes named as that animals
Ask animal and then change into that costume, no need to have different sprites and then make a list of animals u have and then if its not form then tell ur sprite to say "I cant do that"
Quiet Easy
Offline
Jaydeeizsik wrote:
Hi all. I'm new to this, so forgive me if my post seems sloppy.
Anyway, I found a game entitled GuessingGame in the Examples folder in Scratch. For those who don't know what it is, it's a game involving a baby that asks what my name is and asks what animal I'd like the baby to turn into. I was impressed when it said my name back to me, but not so much when I asked it to turn into an animal, because no matter what I typed, it always turned into a giraffe, and I don't even like giraffes that much. : \
So, I was wandering if there was a way I could make a game similar to it, only whatever the player types into the answer thing, it could change into it. I know about making different sprites for it and stuff just to clear that up.
Also, is there a way I can make the character answer questions based on what's in the questions, whether it be a particular word or whatever.
I'd appreciate the help guys.
its scripts are simple so i got it to say oops! i didnt turn into a giraffe! i turned into a giraffe!
Offline
when gf clicked ask [What is your name?] for 1 secs say [hello] for 1 secs say <answer> for 1 secs
Offline
Thanks to everyone who posted, your help is greatly appreciated (: Couldn't have done it without your assistance.
Offline
Aww I'm too late...
Well, this is how I'd have done it, anyway.
when gf clicked ask [What animal should I turn into?] and wait if <[Animals v] contains (answer)> switch to costume (answer) else say [I can't do that.] end stop script
Offline