Hi Guys ..
Im new to the site and wanted some help with Scratch programming never used the software before so im getting use to it.
But im trying to create a game that supports kids learning in maths. The user selects which maths game he wants to play i.e Addition / Subtraction / Division etc and the computer brings up the program.
Im trying to set a timer so the user has a set time to answer an certain number of questions.
can anyone help with the script?
Offline
Have a variable called timer.
Have a script (this one gives twenty seconds per question and 10 questions) that says something like:
when I recieve [addition v] set [timer v] to [0] show variable [timer v] repeat (10) repeat (20) wait (1) sces change [timer v] by (1) end set [timer v] to [0] end hide variable [timer v]Do one script like that for each type of question.
Offline
shadowmouse wrote:
Have a variable called timer.
Have a script (this one gives twenty seconds per question and 10 questions) that says something like:when I receive [addition v] set [timer v] to [0] show variable [timer v] repeat (10) repeat (20) wait (1) secs change [timer v] by (1) end set [timer v] to [0] end hide variable [timer v]Do one script like that for each type of question.
Hope that helps (and that the scratchblocks worked)
Fixed.
Offline