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

#1 2008-09-23 20:43:29

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Scratch Team, please look.

I know I posted a similar subject, but:

What does the sensor do, how does it recignise a remote, is the remote a controller? and last, can I make online multiplayer gameplay without python?


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#2 2008-09-23 21:34:37

chalkmarrow
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: Scratch Team, please look.

zawicki1fromyoutube wrote:

I know I posted a similar subject, but:

What does the sensor do, how does it recignise a remote, is the remote a controller? and last, can I make online multiplayer gameplay without python?

zawicki1:

To try to answer your question, the remote sensor isn't something that senses a remote, it is pretty much just a way of sending information about variables back and forth between Scratch and some other program.

It does take a little bit of geekyness to play with remote sensors, however, but if you look at the sensorconnection wiki, it will show you how to start:

http://scratch.mit.edu/forums/viewtopic.php?id=9962

And you don't really need to know Python. Almost any other modern scripting language or compiled language will do. Python is free and easy and very popular (plus the Scratch team likes to use it for their examples!) so I would recommend that as a starting point. There are also some good game and physics libraries for Python, like pygame and pyBox2d*. You will never regret learning Python.

Regarding multiplayer games, I think that that is a bit far in the future. While I think it would be possible and not terribly difficult today for someone to come up with a way to play, say, checkers with another player online via Scratch (using some simple intermediate online database, as I think Archmage mentioned in another post), it will not likely be possible to reasonably implement a RTS, etc. or anything else where the state of the world has to be refreshed quickly.  On the other hand, who knows what the future will hold...

Hope this helps!

*google "rollcats" if you want to see a cool physics program created for the OLPC XO using Box2D at recent "software slam" in Cambridge...

Last edited by chalkmarrow (2008-09-23 21:43:48)

Offline

 

#3 2008-09-24 07:38:41

zawicki1fromyoutube
Scratcher
Registered: 2008-07-31
Posts: 1000+

Re: Scratch Team, please look.

chalkmarrow wrote:

zawicki1fromyoutube wrote:

I know I posted a similar subject, but:

What does the sensor do, how does it recignise a remote, is the remote a controller? and last, can I make online multiplayer gameplay without python?

zawicki1:

To try to answer your question, the remote sensor isn't something that senses a remote, it is pretty much just a way of sending information about variables back and forth between Scratch and some other program.

It does take a little bit of geekyness to play with remote sensors, however, but if you look at the sensorconnection wiki, it will show you how to start:

http://scratch.mit.edu/forums/viewtopic.php?id=9962

And you don't really need to know Python. Almost any other modern scripting language or compiled language will do. Python is free and easy and very popular (plus the Scratch team likes to use it for their examples!) so I would recommend that as a starting point. There are also some good game and physics libraries for Python, like pygame and pyBox2d*. You will never regret learning Python.

Regarding multiplayer games, I think that that is a bit far in the future. While I think it would be possible and not terribly difficult today for someone to come up with a way to play, say, checkers with another player online via Scratch (using some simple intermediate online database, as I think Archmage mentioned in another post), it will not likely be possible to reasonably implement a RTS, etc. or anything else where the state of the world has to be refreshed quickly.  On the other hand, who knows what the future will hold...

Hope this helps!

*google "rollcats" if you want to see a cool physics program created for the OLPC XO using Box2D at recent "software slam" in Cambridge...

Ok.  sad  but that is why I would like the scratch team to see this, because I need someone who MADE scratch, because they know a little bit more of it's capabilities.


|Call Of Duty: Black Ops Wii Friend Code: 3519-4456-0013|
|Follow me on Twitter|Subscribe To My Youtube Channel

Offline

 

#4 2008-09-24 09:57:59

vikaros
Scratcher
Registered: 2007-06-04
Posts: 100

Re: Scratch Team, please look.

zawicki1fromyoutube wrote:

Ok.  sad  but that is why I would like the scratch team to see this, because I need someone who MADE scratch, because they know a little bit more of it's capabilities.

Chalkmarrow knows what he is talking about, but let me see if I can help explain this a different way. 

The remote sensor blocks are like broadcast blocks, except they can broadcast messages to programs outside of Scratch!  Think of the Scratch Board.  The Scratch Team designed custom blocks to send and receive information from a Scratch project on one end to a Scratch Board (through a software driver controlling the Scratch Board).  These new sensor blocks are like do-it-yourself blocks that can be connected to anything (not just Scratch Boards) that you program them to be connected to (using another language like python or java).

We had meant "remote sensor" to be open ended....which is to say that the word Remote is being used here to describe something far away (from Scratch), and the word Sensor to describe anything that can detect some message we send it (to or from Scratch).  So a remote sensor in regards to Scratch is any software application OTHER than Scratch that is designed in 'way' that allows it to communicate with a Scratch program much like the Scratch board does.    The 'way' it needs to be designed is described by the 'Scratch Networking Protocol'.  The word protocol means a manner or set of rules that determine how something is supposed to be done.

The hope is that this feature will open Scratch up and allow more advanced users to play around with connecting Scratch to other programs and hardware (including the types of remotes you are talking about....like Wii remotes). 

Anyone who wants to learn more or try this out should check out the link Chalkmarrow posted:
http://scratch.mit.edu/forums/viewtopic.php?id=9962

Offline

 

#5 2008-10-20 10:08:02

stretchyboy
Scratcher
Registered: 2008-10-16
Posts: 11

Re: Scratch Team, please look.

Hi,

I have been working on the problem of using a WiiMote to control Scratch programs, using the the new remote sensor stuff.

If you have a pc a wiimote and a bluetooth dongle this is now possible, although not easy just yet (The code I have written does not yet have a simple install process but I'm sure that will change soon).

If you check out my post on Scratch Forums  you can find the code.

Last edited by stretchyboy (2008-10-20 10:34:22)

Offline

 

#6 2009-02-08 11:45:51

SmeAnd
Scratcher
Registered: 2007-12-10
Posts: 17

Re: Scratch Team, please look.

You should take a look at this program for the wiimote. You can control the mouse, and keys as well. Works with scratch. I haven´t tested it for long, but it work direct with my PC. Try it...

http://jasonlpsmith.googlepages.com/wiimotepresenter


Anders
Smedjebacken, in the middle of nowhere... Sweden

Offline

 

Board footer