Key Pressed Detector

Install Java to view this project right on your browser!

user_icon xt449 shared it 9 months, 1 week ago
19 views, 1 tagger, 1 person loves it, 9 downloads
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
Dom818 Dom818 9 months, 1 week ago

The way you did this is absolutely awesome! How did you get the Key variable to attach on the Key Pressed block?

xt449 xt449 9 months, 1 week ago

Thnxs

xt449 xt449 9 months, 1 week ago

I hacked scratch and went to Scratch-blocks >> ComandBlockMorph >> Private >> UncoloredArgMorphFor and then edited to code for:""" $k = t2 ifTrue: [^ ChoiceArgMorph new getOptionsSelector: #keyNames;choice: 'space']. """ so that it said:""" $k = t2 ifTrue: [^ ChoiceOrExpressionArgMorph new getOptionsSelector: #keyNames;choice: 'space'].

(view all replies)
Please Wait...