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

#1 2008-12-09 17:18:52

c_man
Scratcher
Registered: 2008-03-28
Posts: 5

Scratch Online

I have an idea for how I (in NJ) could play against someone in CA in a scratch game. The new block would say, "add '______' to online list". Also it would say, "if <_______> is on online list:".


Example: Pong

The first script would say:
"If <[Player one] key pressed>:
"Forever: "if <right key pressed>:
Add 'P1 right' to online list".
"if <left key pressed>:
Add 'P1 left' to online list"."
Else: "If <[Player two] key pressed>:
"Forever: "if <right key pressed>:
Add 'P2 right' to online list".
"if <left key pressed>:
Add 'P2 left' to online list".""

Then another sprite would read if the other player or his/herself was trying to move there piece and then move it.

Offline

 

#2 2008-12-09 18:12:42

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

Re: Scratch Online

You can do this with remote connections in scratch.
http://scratchconnections.wik.is/Projects/Two-player_Network_Pong
It is hard to do though.


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

 

#3 2008-12-10 17:06:20

c_man
Scratcher
Registered: 2008-03-28
Posts: 5

Re: Scratch Online

Scratch 1.4 should let everyone create online scratch games, and share them

Offline

 

#4 2008-12-12 16:54:44

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

Re: Scratch Online

its not as easy as just making a online additon. If anything online is going to be added, its going to be variables that can be shared, so you'll have to make a sprite's X and Y be comunicated through the internet and the other person will then generate the second player' sprite acording to the variables being recived. this is quite difficult for the scartch team, especially considering that scartch is a non profit org.

Offline

 

#5 2008-12-15 03:51:50

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: Scratch Online

Also everyone would have to be using the new scratch program or the projects wouldn't work.


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

#6 2008-12-17 18:26:04

c_man
Scratcher
Registered: 2008-03-28
Posts: 5

Re: Scratch Online

Everyone would switch to the new version of scratch.

Offline

 

#7 2008-12-19 14:33:42

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: Scratch Online

c_man wrote:

Everyone would switch to the new version of scratch.

What if their computer can't handle it?


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

Board footer