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

#326 2011-08-31 17:36:50

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

People need to know about this! BUMP!

Offline

 

#327 2011-08-31 17:39:09

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

@owetre18
Really? I can think of many reasons why other methods of doing multiplayer are a lot more powerful.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#328 2011-08-31 18:58:49

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

Re: Mesh - how to get it, use it, and program with its features

08jackt wrote:

scimonster wrote:

08jackt wrote:

hey i need some help

so i've activated mesh and every thing's fine but when i click for the drop down menu on the http://wiki.scratch.mit.edu/images/%28% … _Value.png block, it doesn't list any global variables. how do i get it to?

It can only list them if it is connecting, which makes programming a little difficult. At least, that's my experience.

even when i am connected they still aren't listed
can anyone help?

(Wow I need to check Advanced Topics more)

If the two projects are connected, they should be there... are you sure that the projects are actually connected? Try broadcasting something to see if the other project receives it (broadcasts don't carry over in the list of broadcasts, but it'll work if the projects are connected).

Or maybe you don't have any variables to carry over? :S

Last edited by Jonathanpb (2011-08-31 18:59:15)


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

Offline

 

#329 2011-09-04 12:07:10

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

08jackt wrote:

hey i need some help

so i've activated mesh and every thing's fine but when i click for the drop down menu on the http://wiki.scratch.mit.edu/images/%28% … _Value.png block, it doesn't list any global variables. how do i get it to?

Connect mesh with a second window.


http://i.imgur.com/BAEgGDL.png

Offline

 

#330 2011-09-10 18:00:32

MaxTill
Scratcher
Registered: 2011-08-08
Posts: 64

Re: Mesh - how to get it, use it, and program with its features

my mesh ip is 2.7


Failure is simply the opportunity to begin again, this time more intelligently - Ford

Offline

 

#331 2011-09-10 19:52:00

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

bobbybee wrote:

@owetre18
Really? I can think of many reasons why other methods of doing multiplayer are a lot more powerful.

Can you do it on 2 different computers with the other methods? I think not. I rest my case.

Offline

 

#332 2011-09-11 16:20:35

mmww
Scratcher
Registered: 2010-01-14
Posts: 500+

Re: Mesh - how to get it, use it, and program with its features

Mesh CRASHED my computer. I had to buy a new computer to keep on using scratch. I still encourage new scratchers to try mesh.


http://i.imgur.com/AWFFO.pnghttp://www.weebly.com/uploads/1/0/1/4/10146167/4363061_orig.png Save the cheese!
I am http://blocks.scratchr.org/API.php?action=onlineStatus&user=mmww

Offline

 

#333 2011-09-30 12:33:15

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

Someone mentioned a drawing program with Mesh — I made one here.

Last edited by blob8108 (2011-09-30 12:34:26)


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#334 2011-10-02 11:16:41

shamrocker
Scratcher
Registered: 2009-03-19
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

I have a question - Would people have to download my project into BYOB, or onto Scratch?


http://i46.tinypic.com/2s1b32e.png
respect the oxford comma

Offline

 

#335 2011-10-02 11:52:31

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

shamrocker wrote:

I have a question - Would people have to download my project into BYOB, or onto Scratch?

They could use either, as long as they have Mesh enabled on Scratch.


Yawn.

Offline

 

#336 2011-10-02 12:20:50

shamrocker
Scratcher
Registered: 2009-03-19
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

Ok


http://i46.tinypic.com/2s1b32e.png
respect the oxford comma

Offline

 

#337 2011-10-05 20:48:43

iTweak0r
Scratcher
Registered: 2011-07-30
Posts: 100+

Re: Mesh - how to get it, use it, and program with its features

scmb1 wrote:

Cool tutorial! It was working fine for me until I got to the  "Right-click and select "accept" part. I'm on a Mac, so I control-clicked, but nothing happened.

Command click


Make it in Scratch! because it's cooler when it's made in scratch
http://i.imgur.com/D4iqPHR.png

Offline

 

#338 2011-10-08 20:36:13

zippynk
Scratcher
Registered: 2011-07-23
Posts: 500+

Re: Mesh - how to get it, use it, and program with its features

When I right-click, the colored little colorful circle icons come up. Is there a special thing I need to do to make the accept menu appear?

Thanks

zippynk


https://dl.dropbox.com/u/60598636/trifocal_interlude_soundcloud_button.png

Offline

 

#339 2011-10-10 17:30:39

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

Re: Mesh - how to get it, use it, and program with its features

You right-click on the white area that appears when you Shift-click the R  smile

And sorry for the late reply, I should really check Advanced Topics more often ^^


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

Offline

 

#340 2011-10-11 15:24:12

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

Question:What would happen if you were connected to 2 other projects in mesh which both had 2 different variables of the same name? Also, what would happen to the ([]sensor value) blocks that return variables from mesh when you leave mesh? Also, can a scratch project connect to a BYOB project or a panther project via mesh?

Last edited by joefarebrother (2011-10-11 15:25:42)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#341 2011-10-12 08:34:50

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

joefarebrother wrote:

Also, can a scratch project connect to a BYOB project or a panther project via mesh?

Yes.

Offline

 

#342 2011-10-12 11:16:38

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

scimonster wrote:

joefarebrother wrote:

Also, can a scratch project connect to a BYOB project or a panther project via mesh?

Yes.

But what happens if a BYOB global variable is set to a script or list or sprite?


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#343 2011-10-14 10:32:14

TinkerZone
New Scratcher
Registered: 2011-08-25
Posts: 10

Re: Mesh - how to get it, use it, and program with its features

TimeFreeze wrote:

I see a few people are having trouble with the mac right clicking, but I have found a solution  big_smile ! Go to the bottom section of the browser, and on the left, above the scroll bar, there is a minus button. Click that, and you will see "accept (s)" somewhere towards the bottom.

Hope that helps, it sure did for me!

Thanks for pointing out the minus button.  I could not right click to get to the accept changes on my Vista machine. The minus button is what I needed.

The tut works fine otherwise.

Thanks to everyone for the great info and hard work.

Offline

 

#344 2011-10-15 10:38:42

Thenuclearduck
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: Mesh - how to get it, use it, and program with its features

So, say I wanted one program to mesh with another of the same project, just running on a different computer, how could I make it so that on one project the arrow keys do one thing (the one that has joined) and on the other the arrows do a different thing?


http://blocks.scratchr.org/API.php?user=Thenuclearduck&action=projects&type=newest&return=text&num=1 is my newest project! It has http://blocks.scratchr.org/API.php?user=Thenuclearduck&action=projects&type=newest&return=views&num=1 views!

Offline

 

#345 2011-10-15 15:35:59

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Mesh - how to get it, use it, and program with its features

Thenuclearduck wrote:

So, say I wanted one program to mesh with another of the same project, just running on a different computer, how could I make it so that on one project the arrow keys do one thing (the one that has joined) and on the other the arrows do a different thing?

Use these scripts to test connection:

when i receive [connect 1 v]  
set [connected v] to (1)  //first assume connection
if <(me) = (1)>
   broadcast [connect 2 v] and wait  
end
set [connected v] to (0) //only if the other script doesn't wait


when i receive [connect 2 v]  
set [connected v] to (1)  
if <(me) = (2)>
   broadcast [connect 1 v] and wait  
end
set [connected v] to (0) 

When one of the above two scripts is activated, it will check if the "me" variable is equal to one or two. Then it calls the other script, which will interrupt the first one waiting for the second one to finish (if it is in the other version of the project (the only way the "me variable to be different)), and wait for that script to finish, which if it still connected will interrupt the other script which will interrupt the first script.....
But if connection is lost, there will be no script to interrupt it, meaning the connected variable gets set to  0.


To set the "me" variable to the right value, use the following script:
when green flag clicked //or any hat
ask [Are you player 1? or player 2?] and wait
repeat until <<(answer) = (1)> or <(answer) = (2)>>
   ask (join (answer)[was not an option. Pick either 1 or 2.]) and wait
end
set [me v] to (answer)
repeat until <(connected) = (1)>
  broadcast (join [connect ](me)) 
  if <(me) = ([me v] sensor value)>
     say [Oops! Your opponent selected the same number! Press space to change player.] 
     wait until <<key [space v] pressed?> or <not<(me) = ([me v] sensor value)>>>
     if <key [space v] pressed?>
        set [me v] to ((3) - (me))
        say (join (join [You are now player ](me))(.)) for (1) secs
     else
         say (join (join [Other player changed. You are still player ](me))[.]) for (1) secs
     end
  end
end
forever if <(connected) = (0)>
   say [Connection error.] for (2) secs
   stop  all
end

when i receive [something v]//scripts where each player should do something different
if <(me) = (1)>
  stuff that player 1 does, not player 2
else
  stuff that player 2 does, not player 1
end

Last edited by joefarebrother (2012-02-17 17:12:08)


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#346 2011-10-22 13:27:32

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Mesh - how to get it, use it, and program with its features

cameroncameron wrote:

Does anyone know if you can play with more than one other player with mesh. I want to make a scratch multiplayer RPG but I will need to be able to have more than 2 people online at once. Please help!!!

Ok, takes 1 variable, 1 list.
Image: http://imgur.com/ANtAt
For this example, I am using chat as variable, and client as list (mesh doesn't share lists  sad  ).
Image screenshotted directly from BYOB.


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#347 2011-10-22 15:38:37

cocolover76
Scratcher
Registered: 2011-10-09
Posts: 500+

Re: Mesh - how to get it, use it, and program with its features

Noah1991 wrote:

Hi, I'm using Ubuntu Linux 9.04 and every time I try to save after activating Mesh it freezes and I have to force quit Scratch! Any ideas?  sad

Ubuntu 10.10, same thing.
When I try to save the image, the top-left of a error window comes up, no other parts of it, and nothing responds.


http://i.imgur.com/HfEPZ.gifhttp://i.imgur.com/pvKb6.png

Offline

 

#348 2011-10-30 05:57:04

scratchuser7282
Scratcher
Registered: 2011-10-07
Posts: 15

Re: Mesh - how to get it, use it, and program with its features

AnonymousTom wrote:

Can you "Mesh" on the same I.P. address?

No in hosting the same I.P address, but yes when you're hosting an I.P address with a different person or different people joining.

Offline

 

#349 2011-12-02 19:33:14

spike_the_hegehog
Scratcher
Registered: 2010-12-22
Posts: 2

Re: Mesh - how to get it, use it, and program with its features

CANT GET THIS TO WORK  sad  why WHYYY!!!!

Offline

 

#350 2011-12-11 15:17:08

mickyg
Scratcher
Registered: 2011-04-22
Posts: 14

Re: Mesh - how to get it, use it, and program with its features

cool its so easy i started to do this a while ago and thought it would get to complicated so i stopped. but now i have mesh!


Chuck Norris=mc^2

Offline

 

Board footer