So currently Mesh is an experimental feature of Scratch. (See advanced topics for a description of mesh) I would like to expand Scratch's multiplayer compatibility with Bluetooth.
As Scratch is moving slowly towards a more portable program. (Like the step into flash) It's only a matter of time before it on a phone or IPod. If we had a way of sharing variables over Bluetooth, then all projects could connect.
If Scratch stays on a PC then a Bluetooth adapter is £3-£5, or most laptops have it installed. This would also allow local PC's to communicate.
How would it work
It would work by the addition of a few blocks.
<Scratch users in area?>
Does a Bluetooth scan of the area - and reports if anyone is using a variation of Scratch.
[add all users in area to |list v|]
Allows the user to see all users of Scratch in the area, by selecting a list that will then hold all users.
[connect to user |username|]
Attempts to connect to a user, to share variables.
<connected?>
Reports if in a bluetooth connection.
[stop connection]
Ends all bluetooth communtications.
[host bluethooth communications]
After the block is run people can connect to you.
(get bluetooth variable ||)
Gets a variable from bluetooth.
What would my username be?
The username would be your bluetooth device name.
What do you think?
Last edited by johnnydean1 (2011-04-13 05:14:02)
Offline
Most people like me don't have a bluetooth device.
My variation of blocks would be:
(scratch users)
A sensers list that shows all the players playing the project
(reporter |reporter input| of user # |number input|)
Reports what the reporter reports in the specified user's computer.
[invite user |string input|]
Invites the user named what is in the string input.
Mine is easier because it has 3 blocks, but yours has 7 blocks.
Offline
This would be very interesting to have, though I don't have a Bluetooth device, I bet my Dad would let me borrow one to toy with.
If you mean, just the basic concept of Bluetooth, but added to Mesh, that would be just as nice.
Offline
I mean a way of using Bluetooth to exchange variables between projects.
Offline