This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-21 07:57:58

jose6a
New Scratcher
Registered: 2011-08-08
Posts: 23

how to ..... make a game for questions and answers ?

Hi to all, and
thanks for reading me.
first of all, sorry because i'm
a frenchy guy, with an horrible english !

well, I would like to make with scrath
a sort of game with questions and answers,
for example :

gamer 01
question 01
answer 01, answer 02 answer 03

gamer 01
question 02
answer 01, answer 02 answer 03

etc etc ...

so each question, is a single answer question
or a multiple answer question !


Ha more important of all, how is possible to
store answers and name's gameres on à text file ?

Again thanks for your help.

José

Offline

 

#2 2012-09-21 11:26:07

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: how to ..... make a game for questions and answers ?

soniku3 wrote:

This is more an tbg.  hmm

How...?


Why

Offline

 

#3 2012-09-21 11:33:35

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: how to ..... make a game for questions and answers ?

This belongs in Help with Scripts.  smile

Scratch cannot access external files: You'll have to use lists.


http://i50.tinypic.com/312u714.jpg

Offline

 

#4 2012-09-21 19:56:27

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

Re: how to ..... make a game for questions and answers ?

when gf clicked
set [question # v] to (1)
broadcast [question v]

when i receive [question v]
if <(question #) = (1)>
add (correct answer) to [possible answers v]
add (answer 2) to [possible answers v]
add (answer 3) to [possible answers v]
ask [question] and wait
if <(answer) = item [1 v] of [possible answer v]>
broadcast [correct v]
else
broadcast [incorrect v]
end
end
if <(question #) = (2)>
add (correct answer) to [possible answers v]
add (answer 2) to [possible answers v]
add (answer 3) to [possible answers v]
ask [question] and wait
if <(answer) = item [1 v] of [possible answer v]>
broadcast [correct v]
else
broadcast [incorrect v]

when i receive [correct v]
say [correct!] for (2) secs
change [question # v] by (1)
delete [all v] of [possible answers v]
broadcast [question v]

when i receive [incorrect v]
say [ohhhh, sorry. incorrect] for (2) secs
change [question # v] by (1)
delete [all v] of [possible answers v]
broadcast [question v]



http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#5 2012-09-22 06:15:15

chongyian
Scratcher
Registered: 2012-05-08
Posts: 1000+

Re: how to ..... make a game for questions and answers ?

yeah, that above post is awesome!

Offline

 

#6 2012-09-22 06:20:51

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: how to ..... make a game for questions and answers ?

chongyian wrote:

yeah, that above post is awesome!

Although there were some errors in the scripts.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

Board footer