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

#1 2011-04-13 05:05:51

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Bluetooth variable shareing (Bluetooth Mesh)

Vote for it here

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)


You can now reach me on Twitter @johnnydean1_

Offline

 

#2 2011-04-13 10:16:04

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Bluetooth variable shareing (Bluetooth Mesh)

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

 

#3 2011-04-14 07:05:45

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Bluetooth variable shareing (Bluetooth Mesh)

likez but might make suggestionz later  tongue


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#4 2011-04-14 12:09:37

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Bluetooth variable shareing (Bluetooth Mesh)

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

 

#5 2011-04-17 10:53:50

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Bluetooth variable shareing (Bluetooth Mesh)

I mean a way of using Bluetooth to exchange variables between projects.


You can now reach me on Twitter @johnnydean1_

Offline

 

#6 2011-04-29 04:56:51

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: Bluetooth variable shareing (Bluetooth Mesh)

Bump


You can now reach me on Twitter @johnnydean1_

Offline

 

Board footer