zenithrogue / ext2to3 Goto Github PK
View Code? Open in Web Editor NEWConverting Scratch 2.0 Extensions to Scratch 3.0
Converting Scratch 2.0 Extensions to Scratch 3.0
My project has been up for quite a while now, and it still isn't converting. Any reason why or did you quit this project?
I tried to use scratch boost, with this link:
https://rawgit.com/Iwotastic/Scratch-Boost/master/src/installer.js
it returned:
error:
Uncaught TypeError: ScratchExtensions.loadExternalJS is not a function
at eval (eval at (userscript.html?id=f183c5c7-64e8-4c44-a305-081594f98fc6:NaN), :10:19)
at Object.eval (userscript.html?id=f183c5c7-64e8-4c44-a305-081594f98fc6:3466)
at u (userscript.html?id=f183c5c7-64e8-4c44-a305-081594f98fc6:5)
at Object.fireWith [as resolveWith] (userscript.html?id=f183c5c7-64e8-4c44-a305-081594f98fc6:5)
at k (userscript.html?id=f183c5c7-64e8-4c44-a305-081594f98fc6:5)
at XMLHttpRequest.eval (userscript.html?id=f183c5c7-64e8-4c44-a305-081594f98fc6:5)
error:
?url=https://raw.githubusercontent.com/iwotastic/Scratch-Boost/master/src/installer.js:1
Failed to load resource: the server responded with a status of 404 ()
Hello,
I tried to convert this: https://vorpalrobotics.github.io/Vorpal-Hexapod-Scratch.js
But it hangs forever on the "converting" screen.
I was really hopeful that this would get me close, because I have literally thousands of people who have my walking robots and they haven't been able to use scratch for the last couple of years. Alas, I haven't had time to look into what appears to be a pretty complex conversion process.
I'd actually be willing to pay $500 for a conversion, if you're willing to take this on! My extension uses serial io communications but other than that it's pretty straightforward, it just sends and receives serial io messages to control a robot via usb. There are a bunch of blocks, but they're all doing almost the same thing, just transmitting different codes to the robot.
Thanks for any help you can provide!
https://kyleplo.github.io/scratch-extension-creator/ Im Using This To Create My Extension But It Wont Convert
Hat blocks cannot runs scripts
Looks like that they don't like your approach. I receive 404 while I try to convert your sample script.
Any ideas?
And what the hell why shall have extensions hve to to be hosted online only. IMHO this is absolutely crap!
Main reason while I'm looking into conversion from 2to3 is my experimental ScratchX extension for the Ryze Tello qudrocopter I've implemented on my Raspberry 3+.
Example: bobbybee's gamepad extension
Ext2to3 does not grab the below variables:
var DEADZONE = 8000 / 32767;
var buttons = [
["left top", 4],
["left bottom", 6],
["right top", 5],
["right bottom", 7],
["left stick", 10],
["right stick", 11],
["A", 0],
["B", 1],
["X", 2],
["Y", 3],
["select", 8],
["start", 9],
["up", 12],
["down", 13],
["left", 14],
["right", 15],
];
var buttonMenu = [];
var buttonNames = {};
buttons.forEach(function(d) {
var name = d[0],
index = d[1];
buttonMenu.push(name);
buttonNames[name] = index;
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.