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

#76 2010-05-02 07:04:24

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

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

nice,is there anything that makes the broadcast just for 1 player? thanks

Offline

 

#77 2010-05-02 08:31:10

Superspeed76
Scratcher
Registered: 2008-03-24
Posts: 11

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

RicoSuave wrote:

It just crashes

He's right. Except mine still says it's running. AND THE COMPUTER DOESN'T EVEN TRY!!! > sad  And I have to open he windows task manager just to escape!

Offline

 

#78 2010-05-09 12:50:57

Survivorduck
Scratcher
Registered: 2009-07-05
Posts: 500+

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

i tried changing it from "false" to "true", then i tried reinstalling.
Mesh wouldnt go away!  sad

Offline

 

#79 2010-05-10 02:42:54

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

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

meew0 wrote:

You could add this:

If you want to have Mesh without shift-clicking, go in the browser to Scratch-UI-Panes > ScratchFrameMorph > menu/button actions > shareMenu: and replace "Sensor shiftPressed" with "1 > 0". You now have Mesh without shift-clicking!

That isn't really relevant...

dav09 wrote:

nice,is there anything that makes the broadcast just for 1 player? thanks

No... just make a broadcast and only use it for that computer.

Survivorduck wrote:

i tried changing it from "false" to "true", then i tried reinstalling.
Mesh wouldnt go away!  sad

Did you try a fresh install?

Last edited by Jonathanpb (2010-05-10 02:52:59)


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

Offline

 

#80 2010-05-17 03:11:59

Warhunter
Scratcher
Registered: 2008-09-19
Posts: 100+

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

nice tut. though, if i either get BYOB or hack scratch, is there a possibility of damage to scratch? (i doubt it as long as i follow the tut tho)


HIVE
please take your time and have a play. Features: Auto-saved data, Various Achievements, Smooth Movement, Different enemies with different behaviors, 3 difficult bosses, Score system, Credits, and EPIC MUSIC.

Offline

 

#81 2010-05-17 03:43:48

Warhunter
Scratcher
Registered: 2008-09-19
Posts: 100+

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

nvm, i stuffed scratch. i'm downloading it again.


HIVE
please take your time and have a play. Features: Auto-saved data, Various Achievements, Smooth Movement, Different enemies with different behaviors, 3 difficult bosses, Score system, Credits, and EPIC MUSIC.

Offline

 

#82 2010-05-17 22:15:55

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

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

Warhunter wrote:

nice tut. though, if i either get BYOB or hack scratch, is there a possibility of damage to scratch? (i doubt it as long as i follow the tut tho)

You won't damage Scratch, unless you do something weird.  smile


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

Offline

 

#83 2010-05-22 18:38:10

Jango123
Scratcher
Registered: 2010-05-04
Posts: 2

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

Were do you right clik?

Offline

 

#84 2010-05-22 20:04:09

4lover
Scratcher
Registered: 2010-04-24
Posts: 500+

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

Nice tutorial great


Check out this awesome new zombie-cod type of game: http://scratch.mit.edu/projects/4lover/1975649

Offline

 

#85 2010-05-22 21:22:00

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

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

Jango123 wrote:

Were do you right clik?

http://img59.imageshack.us/img59/2364/72meshguidepicture1shif.png And you Shift-click, not right-click.  wink

4lover wrote:

Nice tutorial great

Thanks!  smile

Last edited by Jonathanpb (2010-05-22 21:22:55)


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

Offline

 

#86 2010-06-06 11:13:28

Add_Rocks
Scratcher
Registered: 2010-03-07
Posts: 1

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

really helped me
anyone can understand it !
thnx!!!!!!!!!!!!!!!!!!!!!!!!

Offline

 

#87 2010-06-06 11:24:56

Thehero
Scratcher
Registered: 2010-02-15
Posts: 93

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

I tried to use scratch and it works AWFUL when i tried downloading mesh the hard way. Now I cant download any scratch projects and it looks awful!!!!!!

Offline

 

#88 2010-06-07 02:36:08

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

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

Brilliant tutorial!  big_smile


Hai.

Offline

 

#89 2010-06-07 03:11:41

Subh
Scratcher
Registered: 2010-05-25
Posts: 100+

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

Great Tutorial  smile  But I Could Not Get Mesh By Hacking  sad  So I Got Byob  smile


http://wiki.scratch.mit.edu/skins/scratch/logo.png     I'M IN Scratch Wiki .... ARE YOU ????

Offline

 

#90 2010-06-07 17:25:29

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

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

Multiplayer Mesh
As pointed out in the first post, you can link more than 1 Scratch project via mesh. You may be wondering if you ask it to get a variable, how it works.

On a normal mesh, it looks like this:

|¯¯¯¯¯|     <-- Host                |¯¯¯¯¯|    <-- Client (Or joiner) 
|_____|=====================|_____|
  /___\                                   /___\

This allows a single link connection between the PC's. This allows variables to be shared easily and broadcasts go to all PC's.

On a large mesh its diffrent:

|¯¯¯¯¯|     <-- Host                |¯¯¯¯¯|    <-- Client (Or joiner) 
|_____|=====================|_____|
  /___\                                   /___\
    ¦¦                                       ¦¦
    ¦¦                                       ¦¦ 
    ¦¦                                       ¦¦
    ¦¦                                       ¦¦
    ¦¦                                       ¦¦
    ¦¦   ========================_|
|¯¯¯¯¯| <-- Client No.2
|_____|
  /___\

Here you can see the mesh links all the computers in a 3 way connection. As in all the PC's are connected to each other. When they are linked up, Mesh behaves diffrently

Sharing Variables
When you share a variable normaly, it goes and gets the other projects variable. This is simple and easy to work, but on a large mesh its diffrent.  When a variable updates the time is saved. We will call this the 'update time'. So lets say all the Scratch projects linked have a variable called, 'Score'.
This order of events then happens:
All the Score variables are set to 0
P1 (Player 1)  -    P1 Changes its Score by 2
P2 (Player 2)  -    P2 Chnages its Score by 4
P3 (Player 3)  -    P3 Changes its Score by 1

So at the end it look like this:
P1 Score = 2
P2 Score = 4
P3 Score = 1

If you then told Mesh to get it, it would get 1.
                        Why you ask?
                          This is as P3's Score was updated the most recent. Using this you could make a timed system to exchange variables, or make a unlimited player game or chat room.

Broadcasts
To use broadcasts on a large mesh, it acts like a normal 1. All the projects recieve the broadcast.





----------------
End


I hope you add it
JD1




Some projects:
http://scratch.mit.edu/projects/Cspace/922723   A game/chatroom (2 Player)
http://scratch.mit.edu/galleries/view/80231     A collection of Unlimited Player games
http://scratch.mit.edu/projects/RHY3756547/864408    A game (2 Player)


You can now reach me on Twitter @johnnydean1_

Offline

 

#91 2010-06-07 18:58:39

HD123
Scratcher
Registered: 2009-12-05
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

Just set up mesh so often without saving it that you remember  UIPanes-ScratchFrameMorph-window/button menu-addServerTo I can remember it!


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&amp;online=http://lemonfanatic.webs.com/ONLINE.png&amp;offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#92 2010-06-08 00:58:24

half_life_2
Scratcher
Registered: 2007-07-19
Posts: 1000+

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

About it, I'm using a simple move script that can work in mesh. I don't fully understand it, so can somebody check this? when flag clicked- forever- if [ key up arrow is pressed]-broadcast [move forward]

when I receive [move forward] - move 10 steps.

This was made for one sprite.

Last edited by half_life_2 (2010-06-08 01:01:04)


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

Offline

 

#93 2010-06-08 01:14:55

shockwave
Scratcher
Registered: 2007-12-29
Posts: 64

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

well yea, one thing. I've been trying to make THE FIRST REAL MESH MULTIPLAYA GAME EVAR but for some reason I don't see interaction between the two computers. Obviously the hello sensor is involved but how do you use it?


=^..^= meow. Come look at Fact blaster or else.
http://scratch.mit.edu/projects/shockwave/2005372 • Also, my latest "educational" game, Cola Crisis:http://scratch.mit.edu/projects/shockwave/1702364

Offline

 

#94 2010-06-08 01:46:39

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

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

fg123 wrote:

Brilliant tutorial!  big_smile

Thanks!  smile

Subh wrote:

Great Tutorial  smile  But I Could Not Get Mesh By Hacking  sad  So I Got Byob  smile

BYOB is way easier...  tongue

johnnydean1 wrote:

Multiplayer Mesh
As pointed out in the first post, you can link more than 1 Scratch project via mesh. You may be wondering if you ask it to get a variable, how it works.

On a normal mesh, it looks like this:

|¯¯¯¯¯|     <-- Host                |¯¯¯¯¯|    <-- Client (Or joiner) 
|_____|=====================|_____|
  /___\                                   /___\

This allows a single link connection between the PC's. This allows variables to be shared easily and broadcasts go to all PC's.

On a large mesh its diffrent:

|¯¯¯¯¯|     <-- Host                |¯¯¯¯¯|    <-- Client (Or joiner) 
|_____|=====================|_____|
  /___\                                   /___\
    ¦¦                                       ¦¦
    ¦¦                                       ¦¦ 
    ¦¦                                       ¦¦
    ¦¦                                       ¦¦
    ¦¦                                       ¦¦
    ¦¦   ========================_|
|¯¯¯¯¯| <-- Client No.2
|_____|
  /___\

Here you can see the mesh links all the computers in a 3 way connection. As in all the PC's are connected to each other. When they are linked up, Mesh behaves diffrently

Sharing Variables
When you share a variable normaly, it goes and gets the other projects variable. This is simple and easy to work, but on a large mesh its diffrent.  When a variable updates the time is saved. We will call this the 'update time'. So lets say all the Scratch projects linked have a variable called, 'Score'.
This order of events then happens:
All the Score variables are set to 0
P1 (Player 1)  -    P1 Changes its Score by 2
P2 (Player 2)  -    P2 Chnages its Score by 4
P3 (Player 3)  -    P3 Changes its Score by 1

So at the end it look like this:
P1 Score = 2
P2 Score = 4
P3 Score = 1

If you then told Mesh to get it, it would get 1.
                        Why you ask?
                          This is as P3's Score was updated the most recent. Using this you could make a timed system to exchange variables, or make a unlimited player game or chat room.

Broadcasts
To use broadcasts on a large mesh, it acts like a normal 1. All the projects recieve the broadcast.





----------------
End


I hope you add it
JD1




Some projects:
http://scratch.mit.edu/projects/Cspace/922723   A game/chatroom (2 Player)
http://scratch.mit.edu/galleries/view/80231     A collection of Unlimited Player games
http://scratch.mit.edu/projects/RHY3756547/864408    A game (2 Player)

Nice!  smile

shockwave wrote:

well yea, one thing. I've been trying to make THE FIRST REAL MESH MULTIPLAYA GAME EVAR but for some reason I don't see interaction between the two computers. Obviously the hello sensor is involved but how do you use it?

The only interaction with Mesh is that broadcasts are received on all computers, and variables can be shared with the ([slider] sensor value) block. In the drop-down menu for the block, it'll list all the variables on all computers in the Mesh session.


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

Offline

 

#95 2010-06-08 16:17:40

Thehero
Scratcher
Registered: 2010-02-15
Posts: 93

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

I have a quesion, how do I make it all on one project when your making a game for 2 players and the two projects have diffrent scripts and everything. PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!

Offline

 

#96 2010-06-08 16:51:59

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

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

Thehero wrote:

I have a quesion, how do I make it all on one project when your making a game for 2 players and the two projects have diffrent scripts and everything. PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!

Ahhh... I had the same feeling when I was trying to make my first mesh project, I used broadcasts to report if a sprite had changed, and theres barely any difference in the scripting aswell! You should work it out, and if you don't, then maybe your not ready yet.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#97 2010-06-08 18:37:07

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

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

????????????


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&amp;action=onlineStatus&amp;type=square

Offline

 

#98 2010-06-09 02:14:11

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

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

Thehero wrote:

I have a quesion, how do I make it all on one project when your making a game for 2 players and the two projects have diffrent scripts and everything. PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!

It's practically the same - just let each project use the other's variables and have them send broadcasts at each other. That's all you get with Mesh - and it does a lot!

stickdude123 wrote:

????????????

What are you confused about?  hmm

Last edited by Jonathanpb (2010-06-09 02:14:23)


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

Offline

 

#99 2010-06-09 02:50:09

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

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

Can you add my explanation to the first post?


You can now reach me on Twitter @johnnydean1_

Offline

 

#100 2010-06-10 01:37:57

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

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

johnnydean1 wrote:

Can you add my explanation to the first post?

It's covered in the topic post already...


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

Offline

 

Board footer