karel1980 / scratchnet

Scratch 2 Extension establishing a 2-way communication channel between two hosts.
3 stars 2 forks source link

Let comm.js generate the scratch-extension.s2e file #17

Closed marc-portier closed 10 years ago

marc-portier commented 10 years ago

This component is the one that knows the port-number, so it is well suited to do this. It also provides the /poll service and is best placed to describe the supported actions and reported variables.

The id (name) of the remote connected instance could be used to customise the names of the blocks and variables. So a service-protocol definition should be able to mention placeholder "Send message to %peer" which gets transformed into a block labeled "Send message to Karel1980"

Technically:

Also: think about self-documenting the follow-up steps kids will need to do after this connection is made.

marc-portier commented 10 years ago

solved in b6a589162be3a8a5fa9d61b0213e1ee5ca64922d