Pages: 1
Topic closed
As soon as I saw this I was wondering if it was possible to create a project where 2 people could interact with each other. I know you can use it to make projects that read data from a site (from examples on the wiki) but if you were able to input values then you could make programs that let you interact with others. Any help on the issue would be greatly appreciated.
Link to the wiki ---> http://scratchconnections.wik.is/
Offline
That's a cool idea! Unfortunately, I don't have much expertise in that area. I would think you would need a piece of HTTP middleware running on each computer that could use the web to transfer the data between computers. Scratch would then access the data from the middleware and use it in the application.
It's probably something that Python could do. Let me do a little reading...
Offline
I don't get it... I can make scratch do stuff from the files, but how do I make a file that makes scratch do stuff?
Last edited by ihaveamac (2008-09-23 06:31:08)
Offline
Id quite ike this acctually
Offline
ihaveamac wrote:
I don't get it... I can make scratch do stuff from the files, but how do I make a file that makes scratch do stuff?
![]()
Well in one example from the wiki, when you enable networking and a certain python script, the project will count the total love its for a specific user on scratch and display a heart for each love it. Some one with a knowledge of php and mysql and python could probably make some sort of crude multiperson project by making the scratch project put or edit values into a mysql database. This would probably be pretty inefficient though.
Hopefully some bright coder will find a way soon.
Last edited by archmage (2008-09-23 09:06:02)
Offline
I took a look at some of the example python scripts and some of them seem to be able able to send data (for instance, there is a poll script).
http://scratchconnections.wik.is/
Offline
Topic closed
Pages: 1