Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » ext2to3: Converting 2.0 extensions to 3.0
- NitroCipher
- Scratcher
500+ posts
ext2to3: Converting 2.0 extensions to 3.0
Welcome to ext2to3! A (now pretty decent) attempt at writing a converter to make Scratch 2.0 extensions available in Scratch 3!
I just started this project, and I only have block definitions barely started
I would love some help with this, so feel free to check out the Github repo here
I just started this project, and I only have block definitions barely started
TODO:
- Finish converting block definitions
- Assign functions to block calls
- Make solid website, rather than browser-based hosting
- everything else
I would love some help with this, so feel free to check out the Github repo here
Last edited by NitroCipher (Feb. 3, 2019 22:08:25)
I hope my post helped you in some way! Post count: 500+
Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
- JGames101
- Scratcher
100+ posts
ext2to3: Converting 2.0 extensions to 3.0
This looks promising! I made a pull request to remove the JQuery dependency, and I'll hopefully be contributing more substantial additions in the future.
- NitroCipher
- Scratcher
500+ posts
ext2to3: Converting 2.0 extensions to 3.0
This looks promising! I made a pull request to remove the JQuery dependency, and I'll hopefully be contributing more substantial additions in the future.
This is going to require a ton of work, as not all extensions are formatted the same way, so I need to figure out a better way to parse the javascript to a more manipulable format
I hope my post helped you in some way! Post count: 500+
Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
- JGames101
- Scratcher
100+ posts
ext2to3: Converting 2.0 extensions to 3.0
This is going to require a ton of work, as not all extensions are formatted the same way, so I need to figure out a better way to parse the javascript to a more manipulable format
I wrote a converter that uses the ScratchExtensions.register(…) to get the data of the extension, and then output it as a String in the Scratch 3 Extensions format. There are still many issues with it (it doesn't add the function or convert the inputs to the new format), but it should work with any Scratch 2 Extension.
Here's the code, and Here is a GitHub Pages page so you can try it.
Last edited by JGames101 (Feb. 3, 2019 01:48:25)
- Jeffalo
- Scratcher
1000+ posts
ext2to3: Converting 2.0 extensions to 3.0
what is usercsript
disclaimer: sometimes my posts are pretty critical of the scratch team (especially my older ones), but i really do scratch & scratch team. jvvg made a short essay thing about the scratch team, which is a pretty good read, if you want a different perspective for the scratch team's actions.
- NitroCipher
- Scratcher
500+ posts
ext2to3: Converting 2.0 extensions to 3.0
Thanks JGames101, I am now using the bulk of your code in ext2to3, and I have started mapping the arguments
I hope my post helped you in some way! Post count: 500+
Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
- SantaHey
- New to Scratch
3 posts
ext2to3: Converting 2.0 extensions to 3.0
Hello, why all links about this converter are deads ?
There is any way to convert scratchX extensions to scratch 3.0 extensions ?
If the answer is no, is there an explanation to the deletion of this tool ?
EDIT : I found my answer here https://scratch.mit.edu/discuss/topic/342112/?page=1#post-3453602, sorry for the inconvenience
There is any way to convert scratchX extensions to scratch 3.0 extensions ?
If the answer is no, is there an explanation to the deletion of this tool ?
EDIT : I found my answer here https://scratch.mit.edu/discuss/topic/342112/?page=1#post-3453602, sorry for the inconvenience
Last edited by SantaHey (March 12, 2019 21:47:03)
- zezecoder
- Scratcher
7 posts
ext2to3: Converting 2.0 extensions to 3.0
If you are talking about Scratch X, it is certain that it would be discontinued as of Scratch 3.0's release.
- NitroCipher
- Scratcher
500+ posts
ext2to3: Converting 2.0 extensions to 3.0
I finally added block menus!
I hope my post helped you in some way! Post count: 500+
Current project: [s3Blocks: scratchblocks rewritten for Scratch 3.0] ::#4b4a60 //https://scratch.mit.edu/discuss/topic/290031/ Basically done!This is my signature identifier “aWFtbml0cm9jaXBoZXI=”
- gamemaker5690977
- Scratcher
4 posts
ext2to3: Converting 2.0 extensions to 3.0
scratch as a punisment for commentMy browser / operating system: Windows NT 10.0, Chrome 109.0.0.0, No Flash version detected
- cosmosaura
- Scratch Team
1000+ posts
ext2to3: Converting 2.0 extensions to 3.0
Topic closed to prevent future necroposts.
___________________
Scratch Team Member
Love hiking, cycling and travelling.
- Discussion Forums
- » Developing Scratch Extensions
- » ext2to3: Converting 2.0 extensions to 3.0