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

#1 2012-12-07 11:31:55

LordAwesome123
Scratcher
Registered: 2011-01-18
Posts: 100+

More "When key __ is clicked" blocks

The title explains it all. We all need this  tongue

Last edited by LordAwesome123 (2012-12-07 11:32:12)


http://i672.photobucket.com/albums/vv82/coke457/cooltext538978807.png
When life gives you lemons... take them... free stuff is cool  smile

Offline

 

#2 2012-12-07 16:01:32

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: More "When key __ is clicked" blocks

This is often suggested, I've seen no reason why, other than technical capabilities. Maybe someone with more AS/Java experience can elaborate as to whether Flash can detect keys like /.,;:'@#


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-12-07 16:03:45

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: More "When key __ is clicked" blocks

the reason why they deny this is because some devices don't have those keys, and scratch may one day be usable on said devices.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#4 2012-12-10 08:41:10

doodle81
Scratcher
Registered: 2012-11-29
Posts: 12

Re: More "When key __ is clicked" blocks

definitely do this. Especially a when mouse clicked button.

Offline

 

#5 2012-12-10 09:50:31

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: More "When key __ is clicked" blocks

doodle81 wrote:

definitely do this. Especially a when mouse clicked button.

When mouse clicked? What do you mean?

Oh, wait I think I get it.

when gf clicked
forever
 wait until <mouse down?>
 do stuff
 wait until <not <mouse down?>>
end
zammer gave a pretty good reason

Offline

 

#6 2012-12-10 10:44:41

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

Re: More "When key __ is clicked" blocks

Right click won't be able in the next version would be flash only online.

Only . or , do have a reason.


internet's all about cats today.

Offline

 

#7 2012-12-13 08:18:10

ZEROGRAVITY82
Scratcher
Registered: 2012-11-13
Posts: 20

Re: More "When key __ is clicked" blocks

How about "When any key pressed"?

Offline

 

#8 2012-12-13 08:21:55

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: More "When key __ is clicked" blocks

ZEROGRAVITY82 wrote:

How about "When any key pressed"?

"any" still needs a list of keys to check for...


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#9 2012-12-13 08:22:11

ZEROGRAVITY82
Scratcher
Registered: 2012-11-13
Posts: 20

Re: More "When key __ is clicked" blocks

It would be a lot faster than making the scripts now.

Offline

 

#10 2012-12-13 08:54:55

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: More "When key __ is clicked" blocks

ZEROGRAVITY82 wrote:

It would be a lot faster than making the scripts now.

But there may be some keys not in the 'list' so they don't get detected.  hmm


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#11 2012-12-13 16:29:55

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

Re: More "When key __ is clicked" blocks

Maybe there should be a "when [shift] key pressed" block


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#12 2012-12-13 17:38:00

TorbyFork234
Scratcher
Registered: 2012-03-01
Posts: 1000+

Re: More "When key __ is clicked" blocks

I think they should allow you to put reporters inside of the drop-down list, like they do for costumes. That way, you can have editable controls, by easily doing this:

if <key (move right key) pressed?>
move right scripts
end
if <key (move left key) pressed?>
move left scripts
end
etc...

Offline

 

#13 2012-12-13 19:23:48

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: More "When key __ is clicked" blocks

TorbyFork234 wrote:

I think they should allow you to put reporters inside of the drop-down list, like they do for costumes. That way, you can have editable controls, by easily doing this:

if <key (move right key) pressed?>
move right scripts
end
if <key (move left key) pressed?>
move left scripts
end
etc...

Support! Then you don't have to add "a" and left arrow keys to a script.


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#14 2012-12-13 21:21:46

ZEROGRAVITY82
Scratcher
Registered: 2012-11-13
Posts: 20

Re: More "When key __ is clicked" blocks

TorbyFork234 wrote:

I think they should allow you to put reporters inside of the drop-down list, like they do for costumes. That way, you can have editable controls, by easily doing this:

if <key (move right key) pressed?>
move right scripts
end
if <key (move left key) pressed?>
move left scripts
end
etc...

You already can do that now!

Offline

 

#15 2012-12-13 21:57:37

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: More "When key __ is clicked" blocks

ZEROGRAVITY82 wrote:

TorbyFork234 wrote:

I think they should allow you to put reporters inside of the drop-down list, like they do for costumes. That way, you can have editable controls, by easily doing this:

if <key (move right key) pressed?>
move right scripts
end
if <key (move left key) pressed?>
move left scripts
end
etc...

You already can do that now!

Prove it. You can't legitimately.

Last edited by jontmy00 (2012-12-13 21:57:45)


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#16 2012-12-15 08:50:48

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: More "When key __ is clicked" blocks

This is getting a bit offtopic, I actually agree with this idea, and name 1 device that doesn't have a basic punctuation set?


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

Board footer