Pages: 1
Topic closed
All I've seen for scratch hacks/mods use python. I'm not that familiar with python, but understand ruby fairly well. How would I interact with the squeak side of scratch using ruby?
Offline
You can use Ruby's built in Socket class.
http://tinyurl.com/dfbbpq
Just make a test Ruby program that connects to port 42001 of localhost (127.0.0.1). I tried it, and it works, though I never did anything with it like parse broadcasts, etc.
In fact, I'm surprised that nobody has made a Ruby Shoes program (which makes it easy to make buttons and things) with some kind of socket programming functions.
If you come up with something, make sure you post it on the scratch connections wiki.
Offline
Topic closed
Pages: 1