Pages: 1
Topic closed
I want to know how to make a multiple choice question that moves a sprite when it is correct. Any help is appreciated!
Offline
Well, it depends on how you put it, because the most common way is by getting the "Ask ___ and wait" block and putting an "If <answer = [_____]> then" after it and telling the sprite to move if they have the answer correct.
Offline
DigiTechs wrote:
Well, it depends on how you put it, because the most common way is by getting the "Ask ___ and wait" block and putting an "If <answer = [_____]> then" after it and telling the sprite to move if they have the answer correct.
That way would work, but it would require a lots of 'ors' to make sure it didn't matter if they capitalised it or not, or put a full stop at the end of it etc. I would suggest making buttons which the player can click to choose their answer. It may be harder to make, but it would be easier for the player as they wouldn't have to worry about spelling mistakes and typos.
For the moving part, put:
When right answer clicked
Broadcast 'correct answer selected'
And then on the sprite you want to move:
When I receive 'correct answer selected'
Rest of script
Offline
Can I make it so if you click one sprite, another one animates, and a sound plays?
Offline
supercow9001 wrote:
Can I make it so if you click one sprite, another one animates, and a sound plays?
Yes. Put this on the sprite you want clicked:
When (me) clicked
Broadcast 'move'
Then on the moving sprite:
When I receive 'move'
Play sound (sound)
Moving script here
Offline
when gf clicked ask [insert question here] if <(answer)=[insert answer here] go to [mouse pointer v] else go to [not mouse pointer v]
Offline
Backlong wrote:
when gf clicked ask [insert question here] if <(answer)=[insert answer here] go to [mouse pointer v] else go to [not mouse pointer v]
Oops, I meant:
when gf clicked ask [insert question here] if <[answer]=[insert answer here] go to [mouse pointer v] else go to [not mouse pointer v]
Offline
Backlong wrote:
Backlong wrote:
when gf clicked ask [insert question here] if <(answer)=[insert answer here] go to [mouse pointer v] else go to [not mouse pointer v]Oops, I meant:
when gf clicked ask [insert question here] if <[answer]=[insert answer here] go to [mouse pointer v] else go to [not mouse pointer v]
Ugghh, I don't know how to do it.
Offline
Backlong wrote:
when gf clicked ask [insert question here] if <(answer)=[insert answer here]> go to [mouse pointer v] else go to [not mouse pointer v]
Fixed.
Please don't necropost though -.-
Offline
RedRocker227 wrote:
Backlong wrote:
when gf clicked ask [insert question here] if <(answer)=[insert answer here]> go to [mouse pointer v] else go to [not mouse pointer v]Fixed.
Please don't necropost though -.-
Necropost? What is that? I figured it out though:
when gf clicked repeat until <(answer) = [insert answer here]> ask [insert question here] and wait if <(answer) = [insert answer here] go to [where you want it to go v] else say [whatever, it doesn't have to be say] for (3) secs end end
Offline
how do you make the ask insert question here thing pop up?
Offline
Topic closed
Pages: 1