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

#1 2012-08-05 14:20:28

blargin
Scratcher
Registered: 2012-07-06
Posts: 49

if blocks: always sensing

if blocks should always be sensing or we should be able to choose "now" or "forever".

when gf clicked
if <key [space v] pressed?> sensing [forever v]
  wait (1) secs
end
i wish my programming worked. it should be c shaped.

Offline

 

#2 2012-08-05 14:24:37

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: if blocks: always sensing

In python their equivalient of the if block is activated all the time. The annoying thing is, unlike your suggestion, you dont get a choice.

Despite being a very good idea, suggestions with workarounds are rarely accepted.

Offline

 

#3 2012-08-05 15:01:02

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

Re: if blocks: always sensing

Erm, forever if?


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

Offline

 

#4 2012-08-05 15:16:11

blargin
Scratcher
Registered: 2012-07-06
Posts: 49

Re: if blocks: always sensing

forever if is if this, do this forever.

forever if <key [space v] pressed?>
= to
if <key [space v] pressed?>
forever

Offline

 

#5 2012-08-05 15:18:42

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

Re: if blocks: always sensing

blargin wrote:

forever if is if this, do this forever.

forever if <key [space v] pressed?>
= to
if <key [space v] pressed?>
forever

Actually, it's not equal to

if <key [space v] pressed?>
forever
It's equal to

forever
 if <key [space v] pressed?>
 end
end


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

Offline

 

#6 2012-08-06 08:22:56

blargin
Scratcher
Registered: 2012-07-06
Posts: 49

Re: if blocks: always sensing

BirdByte wrote:

blargin wrote:

forever if is if this, do this forever.

forever if <key [space v] pressed?>
= to
if <key [space v] pressed?>
forever

Actually, it's not equal to

if <key [space v] pressed?>
forever
It's equal to

forever
 if <key [space v] pressed?>
 end
end

^^^^^^^^^^^^^^^^^^^^^
?? forever block has no notch at the bottom?!?

blargin wrote:

I tested it.
I stand corrected. sad

Last edited by blargin (2012-08-06 08:29:50)

Offline

 

#7 2012-08-06 08:24:01

blargin
Scratcher
Registered: 2012-07-06
Posts: 49

Re: if blocks: always sensing

I stink at making forums

Offline

 

#8 2012-08-06 13:54:14

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: if blocks: always sensing

blargin wrote:

I stink at making forums

Do you mean suggestions? That's OK, just take a little more time to learn your way around the Scratch program and website, and then you can become more experienced.  smile

Offline

 

#9 2012-08-08 09:16:17

blargin
Scratcher
Registered: 2012-07-06
Posts: 49

Re: if blocks: always sensing

scimonster wrote:

blargin wrote:

I stink at making forums

Do you mean suggestions? That's OK, just take a little more time to learn your way around the Scratch program and website, and then you can become more experienced.  smile

not helping.

Offline

 

#10 2012-08-08 09:26:04

soniku3
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: if blocks: always sensing

blargin wrote:

scimonster wrote:

blargin wrote:

I stink at making forums

Do you mean suggestions? That's OK, just take a little more time to learn your way around the Scratch program and website, and then you can become more experienced.  smile

not helping.

He did not mean to be rude.


internet's all about cats today.

Offline

 

Board footer