Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Communicating With Scratch Via Javascript
- djdolphin
- Scratcher
1000+ posts
Communicating With Scratch Via Javascript
Is it possible for Javascript to communicate with Scratch using RSC and WebSocket? I've only found instructions on how to communicate with Scratch using Python, Actionscript, and Objective-C. If it is possible, then what code would you use to do it?
!
- jji7skyline
- Scratcher
1000+ posts
Communicating With Scratch Via Javascript
I think those instructions to communicate are for Scratch 1.4.
- Hardmath123
- Scratcher
1000+ posts
Communicating With Scratch Via Javascript
You can use a local socket server and websockets together with twisted/python.
- MathWizz
- Scratcher
100+ posts
Communicating With Scratch Via Javascript
Use node.js.
running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizz — JsScratch && sb.js & Amber (coming soon! maybe)
- easymath123
- Scratcher
100+ posts
Communicating With Scratch Via Javascript
Use node.js. Node.js website
- djdolphin
- Scratcher
1000+ posts
Communicating With Scratch Via Javascript
Node.js would work, but I need a way to communicate with Scratch from a web browser, preferably with javascript.Use node.js. Node.js website
!
- DigiTechs
- Scratcher
500+ posts
Communicating With Scratch Via Javascript
node.js IS javascript though…Node.js would work, but I need a way to communicate with Scratch from a web browser, preferably with javascript.Use node.js. Node.js website
I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
- MathWizz
- Scratcher
100+ posts
Communicating With Scratch Via Javascript
Create a websocker server that the browser connects to and pipe that directly to scratch…
running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizz — JsScratch && sb.js & Amber (coming soon! maybe)
- djdolphin
- Scratcher
1000+ posts
Communicating With Scratch Via Javascript
Never mind. I don't need to do this anymore.
!
- Discussion Forums
- » Advanced Topics
- » Communicating With Scratch Via Javascript