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

#1 2013-05-02 04:43:23

lehernan
New Scratcher
Registered: 2013-04-21
Posts: 7

Help! Math script not working

Hello everyone,
  Please advice. Basically my levels are as follow:

Introduction
Multiplication
Game Map
Division
Finish

HOWEVER, once i get to the division stage the text box goes a way. I have realized that it uses the coding from the multiplication stage and then just stops. Basically, it is the same coding just different set of problems, but it stops working.  It is basically two cars racing to the finish line and if the gamer gets the math question right they advance.

Offline

 

#2 2013-05-02 04:47:21

lehernan
New Scratcher
Registered: 2013-04-21
Posts: 7

Re: Help! Math script not working

If you can help me know how to add my script images that would be helpful

Offline

 

#3 2013-05-02 04:56:17

lehernan
New Scratcher
Registered: 2013-04-21
Posts: 7

Re: Help! Math script not working

i tried to add stop script but the box goes away all together

Offline

 

#4 2013-05-02 05:02:28

lehernan
New Scratcher
Registered: 2013-04-21
Posts: 7

Re: Help! Math script not working

Here is the link to the game. Following the multiplication stage division is suppose to go next but the text box goes away please advice on how to fix issue

http://scratch.mit.edu/projects/lehernan/3308257

Offline

 

#5 2013-05-02 19:28:47

cauzality
New Scratcher
Registered: 2013-03-19
Posts: 44

Re: Help! Math script not working

no matter what happens after the multiplication round, either "cat wins" or "dog wins" will be equal to 1 so the repeat until block in the division block is immediately terminated.

I downloaded it and made the multiplication round repeat until cat wins + dog wins = 1 and i made the division round repeat until cat wins + dog wins = 2 and i saw the division questions.

Offline

 

#6 2013-05-06 03:02:27

lehernan
New Scratcher
Registered: 2013-04-21
Posts: 7

Re: Help! Math script not working

Thank you very much for your help. This is the information I needed.

Offline

 

Board footer