This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-09-22 22:06:39

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

creating multiperson projects with scratch's networking abilities?

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/


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#2 2008-09-23 05:17:23

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: creating multiperson projects with scratch's networking abilities?

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...


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-09-23 06:30:50

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: creating multiperson projects with scratch's networking abilities?

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?  hmm

Last edited by ihaveamac (2008-09-23 06:31:08)


~ihaveamac - visit ihaveamac.net

Offline

 

#4 2008-09-23 09:01:41

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: creating multiperson projects with scratch's networking abilities?

Id quite ike this acctually

Offline

 

#5 2008-09-23 09:05:27

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: creating multiperson projects with scratch's networking abilities?

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?  hmm

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)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#6 2008-09-23 09:12:43

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: creating multiperson projects with scratch's networking abilities?

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/


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

Board footer