what do i do?
Offline
i'll use old rkt
Offline
Scratch-Blocks -> CommandBlockMorph -> private -> canBecomeWatcher .
canBecomeWatcher
| t1 |
t1 _ selector asString findAnySubStr: #('mouse' 'key' 'touching' 'distance' ) startingAt: 1.
^ self isReporter & (self argumentCount <= 1) & (#(#not #atRandom #abs #rounded #lineCountOfList: #stringLength: ) includes: selector) not & (t1 > selector asString size)
Replace it with:
canBecomeWatcher
| t1 |
t1 _ selector asString findAnySubStr: #('touching' 'distance' ) startingAt: 1.
^ self isReporter & (self argumentCount <= 1) & (#(#not #reportSingle: #nil: #atRandom #abs #rounded #lineCountOfList: #stringLength: ) includes: selector) not & (t1 > selector asString size)
Go to Scratch-UI-Panes -> WatcherMorph -> private -> translatedName and
replace with:
translatedName
| t1 t2 t3 t4 |
readout target ifNil: [^ 'xxx'].
t1 _ readout getSelector.
#getVar: = t1 ifTrue: [^ readout parameter].
t2 _ readout target blockSpecForSelector: t1.
t2 ifNil: [^ t1].
t3 _ ScratchTranslator translationFor: t2.
t4 _ readout parameter.
t4 ifNil: [t4 _ ''].
#sensor: = t1 ifTrue: [t3 _ self
replace: '%H'
with: (ScratchTranslator translationFor: t4)
in: t3].
#sensorPressed: = t1 ifTrue: [t3 _ self
replace: '%h'
with: (ScratchTranslator translationFor: t4)
in: t3].
#returnW: = t1 ifTrue: [t3 _ self
replace: '%t'
with: (ScratchTranslator translationFor: t4)
in: t3].
#keyPressed: = t1 ifTrue: [t3 _ self
replace: '%k'
with: (ScratchTranslator translationFor: t4)
in: t3].
#mousePressed: = t1 ifTrue: [t3 _ self
replace: '%Z'
with: (ScratchTranslator translationFor: t4)
in: t3].
^ t3This makes it so that some blocks that have never been shown on stage can be there! For instance you can put the
[blocks] <key[ space ]pressed?>[/blocks]
block on stage and it will say (key space pressed? [trueOrFalse]) on the sage. Then you can change it to
[blocks] <key[ up arrow ]pressed?>[/blocks]
and it will say (key up arrow pressed? [trueOrFalse]) on the sage.
Also some blocks like
[blocks] <mouse y> <mouse x> [/blocks]
can now be shown! Also fixes the ({newline}) block and <[ ] nil> blocks!
Last edited by Pecola1 (2011-01-23 19:10:33)
Offline
ahh! can you do all this Pecola? At least right now?
Offline
ProgrammingFreak wrote:
ahh! can you do all this Pecola? At least right now?
Do you have the most updated RKT image? I'll need it. Ohhhh:
ssss wrote:
add the old blocks, in a more organised fashion (if you want, we can use the latest old rkt) And add new blocks etc etc
So I can use the old one, with or without the new categories? With it will have errors but without wont have the new categories.
Last edited by Pecola1 (2011-01-23 19:16:30)
Offline
Pecola1 wrote:
Pecola1 wrote:
I wish ProgramingFreak would have given me the FULL ZIPPED folder so I could edit the ScratchSkin folder
Pecola1 wrote:
@ProgrammingFreak Next time you get on could you give me the ScratchSkin folder? Thanks
Pecola1 wrote:
ProgrammingFreak wrote:
what do i do?
Are you planning on staying with us? If so thanks. For now I am trying to work out a way to
1. generate a new method
2. Get the code for taking the website for uploading new blocks on RKT
and
3. Can you give me the EDITED ScratchSkin? We will be needing it or else it will mess up the new categories you made.
At least 60 seconds have to pass between posts. Please wait a little while and try posting again. LALALALALLaaaa Just passing time! Yipedee doo DAAA Yipedy AAAYYY my Oh my what a wonderfull day...
Offline
I didn't do anything with it though. no new changes!
Offline
ProgrammingFreak wrote:
ahh! can you do all this Pecola? At least right now?
I can. And I will If I can.
Offline
ProgrammingFreak wrote:
I didn't do anything with it though. no new changes!
I mean the one with the category pictures. But If we don't need those yet and i am allowed to use the newest upload Without those categories than we don't need the ScratchSkin. In that case I am already done! I was editing it on the newest one without the new categories!
Last edited by Pecola1 (2011-01-23 19:20:41)
Offline
BTW, I found out on the watchers you cannot make it say distance to sprite or touching color (r: g: b
because they don't do colors and they don't do sprite names.
Offline
Pecola1 wrote:
BTW, I found out on the watchers you cannot make it say distance to sprite or touching color (r: g: b
because they don't do colors and they don't do sprite names.
What the smileyface! BTW, I found out on the watchers you cannot make it say distance to sprite or touching color (r: g: b: ) because they don't do colors and they don't do sprite names.
Last edited by Pecola1 (2011-01-23 19:31:53)
Offline
uploading...
Offline
Last edited by Pecola1 (2011-01-24 18:13:56)
Offline
ssss wrote:
thanks,
![]()
download link doesn't work:
Incorrect linking code.
Please try again.
Sorry I tried doing a direct link but it must have not worked.
Offline
Pecola1 wrote:
That one should work now
Offline
thanks!
Offline
ESN wrote:
Sorry guys, in California on my iPhone at the moment. I can't download the image
![]()
Maybe Thursday I can catch up with you guys.
Ok
Offline
Pecola1 wrote:
ESN wrote:
Sorry guys, in California on my iPhone at the moment. I can't download the image
![]()
Maybe Thursday I can catch up with you guys.Ok
lol, We can remove the forever block! Because we have the <press the flag block>
Offline
Hey Guys!
I had a few ideas, here is one of them:
Sprite_Packs: A special type of compressed folder which only software developed by Rocket-Software could open! This would mean we would have an extra feature, which no other mod includes!
___________________________________________________________________________________
Motion 2 'extra' category for the stage
_________________________________________________________________________________
Web browser plugin: http://wiki.squeak.org/squeak/1865
_________________________________________________________________________________
More coming soon!
Offline
ssss wrote:
Pecola1 wrote:
ESN wrote:
Sorry guys, in California on my iPhone at the moment. I can't download the image
![]()
Maybe Thursday I can catch up with you guys.Ok
lol, We can remove the forever block! Because we have the <press the flag block>
keeps THE FOREVER BLOCK!! Please it will be fine with it and either way the ForeverBlockMorph is still there right?
Well... I do think there is something else we can do besides removing it...
Last edited by Pecola1 (2011-01-25 12:59:16)
Offline
ssss wrote:
Hey Guys!
I had a few ideas, here is one of them:
Sprite_Packs: A special type of compressed folder which only software developed by Rocket-Software could open! This would mean we would have an extra feature, which no other mod includes!
___________________________________________________________________________________
Motion 2 'extra' category for the stage![]()
_________________________________________________________________________________
Web browser plugin: http://wiki.squeak.org/squeak/1865
_________________________________________________________________________________
More coming soon!
I have a new feature too, only I already made it! It allows you to compare two projects side-by-side! It is a new Image and when we are done I will delete it and do the same with the Rkt Img only of course save as and not save it over. It is called RKT Compare and you can download it here!
Also should we stop what were doing and instead of making this from Scratch make it from BYOB? I know how to hack BYOB so we can shift click the B or O or Y or whatever. (I spelled Boy!)
Offline