Are Java (whatever type is used in the old scratch player), Squeak 2.0, and Flash part of the common language runtime?
Just wondering, because if they do this means that custom blocks would (in theory and with a lot of caffeine) be possible in the online player without editing Scratch 1.4
Woops... test account.
Last edited by LS97-Test (2011-03-05 05:18:05)
Offline
*groans*
I posted with my test account...
well... 1300 posts!
Last edited by LS97 (2011-03-05 05:14:13)
Offline
Java isn't part of the CLR but J# is.
The other two, as far as I know, don't have a Microsoft CLR equivalent.
Offline
fullmoon wrote:
The other two aren't part of the CLR but I'd be interested In hearing your ideas for custom blocks in 2.0...they could probably be implemented in Flash with or without CLR.
Yes, they could. But that would probably require a specific added feature to both the player and Scratch 1.4, then have the blocks keep the code as a hidden argument.
If flash was part of the CLR, the blocks could be easily transported as objects themselves to the flash player (as bytes in the sb file) and interpreted by a similar class in the player. Of course, it's doubtlessly easier to implement the feature from scratch. But it would require an update to the offline version.
Unless the way scratch objects are written is so easy you can interpret it without CLR facilities...
Offline
LS97 wrote:
fullmoon wrote:
The other two aren't part of the CLR but I'd be interested In hearing your ideas for custom blocks in 2.0...they could probably be implemented in Flash with or without CLR.
Yes, they could. But that would probably require a specific added feature to both the player and Scratch 1.4, then have the blocks keep the code as a hidden argument.
If flash was part of the CLR, the blocks could be easily transported as objects themselves to the flash player (as bytes in the sb file) and interpreted by a similar class in the player. Of course, it's doubtlessly easier to implement the feature from scratch. But it would require an update to the offline version.
Unless the way scratch objects are written is so easy you can interpret it without CLR facilities...
Interesting! BYOB-like custom blocks are probably going to be built into Scratch 2.0, so that solves half the problem right there. But if you want to expand Scratch's functionality...it should be possible by creating a common interface for custom blocks in Actionscript and then bundling these custom block classes into a compiled .swf (just a Flash movie, really) that could be loaded by the player anywhere and have its custom block classes extracted. The question isn't really whether it's possible, but how willing the Scratch Team is to implement it. I think they'd probably be wary of letting people include anything they want in their projects. On the flip side, anyone who builds a mod of Scratch 2.0 will have the capability to release an online player nearly identical to the official one, only with capabilities like these!

Offline
fullmoon wrote:
LS97 wrote:
fullmoon wrote:
The other two aren't part of the CLR but I'd be interested In hearing your ideas for custom blocks in 2.0...they could probably be implemented in Flash with or without CLR.
Yes, they could. But that would probably require a specific added feature to both the player and Scratch 1.4, then have the blocks keep the code as a hidden argument.
If flash was part of the CLR, the blocks could be easily transported as objects themselves to the flash player (as bytes in the sb file) and interpreted by a similar class in the player. Of course, it's doubtlessly easier to implement the feature from scratch. But it would require an update to the offline version.
Unless the way scratch objects are written is so easy you can interpret it without CLR facilities...Interesting! BYOB-like custom blocks are probably going to be built into Scratch 2.0, so that solves half the problem right there. But if you want to expand Scratch's functionality...it should be possible by creating a common interface for custom blocks in Actionscript and then bundling these custom block classes into a compiled .swf (just a Flash movie, really) that could be loaded by the player anywhere and have its custom block classes extracted. The question isn't really whether it's possible, but how willing the Scratch Team is to implement it. I think they'd probably be wary of letting people include anything they want in their projects. On the flip side, anyone who builds a mod of Scratch 2.0 will have the capability to release an online player nearly identical to the official one, only with capabilities like these!
Then maybe the usual 'mod boom' will solve the point in question.
So, from what you're saying, 2.0 will definitely be open source?
Offline
LS97 wrote:
Then maybe the usual 'mod boom' will solve the point in question.
So, from what you're saying, 2.0 will definitely be open source?
Unless something prevents the Scratch team from doing so, I don't see why the wouldn't release the source code. When they release the source, I plan on building my own version of Scratch 2.0 with BYOB-like first-class blocks, lists, and sprites, as well as the block-loading capability I mentioned earlier.

Offline
fullmoon wrote:
When they release the source, I plan on building my own version of Scratch 2.0 with BYOB-like first-class blocks, lists, and sprites, as well as the block-loading capability I mentioned earlier.
Cool! I really should be taking on some Flash, but I don't know where to start.
And I even have Flash CS4
Offline