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

#1 2010-03-13 19:19:06

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Mesh programming help needed!

How do you program in Mesh?

I'm making a submarine game, and I want to make a mesh version of it.

How should I go about doing this?


-End Transmission-

Offline

 

#2 2010-03-13 23:48:50

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: Mesh programming help needed!

Mesh is something I haven't worked out completely either, but this helped me a lot.

Offline

 

#3 2010-03-14 00:20:04

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Mesh programming help needed!

Programming a project that uses Mesh features is very similar to programing a normal project - the only difference is that you get Mesh features. Really, it's not very different.

I'll try and give an example. Let's say that you want to make a two-player game (which you do want, right?)...

What you would do without Mesh: You would have one player use the arrow keys and the second player use the WASD keys. When you push one of the keys, something happens.

What you would do with Mesh: Both players would use the arrow keys. When one person pushes one of their keys, their Scratch program will do something - and it will broadcast something to make the other person's Scratch program do the same thing.


Understand?

Last edited by Jonathanpb (2010-03-14 00:21:48)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#4 2010-03-14 00:39:32

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: Mesh programming help needed!

Ah, I see! thanks so much!


-End Transmission-

Offline

 

Board footer