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

#1 2011-10-13 18:35:54

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

mod question

I have a "mod" block question. What does it do?
and
i have another question too.
if 100 = 1 and 99 = 2 than what is 98?
I know it is 3 but what is the equation?
i cant use the mod block  sad


http://blocks.scratchr.org/API.php?user=KrIsMa&action=onlineStatus&online=http://i49.tinypic.com/2pzic0m.png&offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#2 2011-10-13 18:47:27

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: mod question

i am going to improve.

<set pen color to(<loudness>

so if it is quiet, the line will be red. How do you make it green?
if it is noisy, the line will be blue. How do you make it red?


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#3 2011-10-13 18:55:09

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: mod question

There's an article on the mod block at the Scratch Wiki  tongue

You could try having a variable at 100 and another at 1. If you made the first variable decrease by 1 while the other gains by 1, it might work  smile

You can't simply make blue into red and such; try setting the pen color 'manually'?


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#4 2011-10-13 18:57:57

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: mod question

Jonathanpb wrote:

There's an article on the mod block at the (link removed im new scratcher  smile   tongue

You could try having a variable at 100 and another at 1. If you made the first variable decrease by 1 while the other gains by 1, it might work  smile

You can't simply make blue into red and such; try setting the pen color 'manually'?

Thanks!


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#5 2011-10-13 19:02:12

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: mod question

aww, did not work.
Equation please


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#6 2011-10-13 20:03:42

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: mod question

Closed by request of the topic owner.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer