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

#1 2009-07-21 21:05:36

GrammaticlyCorrect
Scratcher
Registered: 2008-11-18
Posts: 42

Any way to make in between blocks?

Well, I'm making a hammer throw sim, and I need to know if there is any way to make an in between block.

What I have so far is this.
<if><( (( <{ # times you hit the arrow keys }> </> 3 )) <=> 30 )>
<glide( 1 )secs to x sad  14 )y sad  100

I'm wondering if there's any way to, instead of having thirty, have between 25 and 30. Any help would be appreciated.

Offline

 

#2 2009-07-21 22:06:24

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Any way to make in between blocks?

Code:

[if <<((# of times you hit the arrow keys)/(3)) > (24)> and <((# of times you hit the arrow keys)/(3)) < (30)>>

Should work.

Offline

 

#3 2009-07-21 22:11:21

GrammaticlyCorrect
Scratcher
Registered: 2008-11-18
Posts: 42

Re: Any way to make in between blocks?

Oooh, I understand, thank you very much!

Offline

 

Board footer