nice,is there anything that makes the broadcast just for 1 player? thanks
Offline
RicoSuave wrote:
It just crashes
He's right. Except mine still says it's running. AND THE COMPUTER DOESN'T EVEN TRY!!! > And I have to open he windows task manager just to escape!
Offline
i tried changing it from "false" to "true", then i tried reinstalling.
Mesh wouldnt go away!
Offline
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!
Did you try a fresh install?
Last edited by Jonathanpb (2010-05-10 02:52:59)
Offline
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)
Offline
nvm, i stuffed scratch. i'm downloading it again.
Offline
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.
Offline
Nice tutorial great
Offline
Jango123 wrote:
Were do you right clik?
And you Shift-click, not right-click.
4lover wrote:
Nice tutorial great
Thanks!
Last edited by Jonathanpb (2010-05-22 21:22:55)
Offline
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
Great Tutorial But I Could Not Get Mesh By Hacking So I Got Byob
Offline
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)
Offline
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?
Just set up mesh so often without saving it that you remember UIPanes-ScratchFrameMorph-window/button menu-addServerTo I can remember it!
Offline
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)
Offline
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?
Offline
fg123 wrote:
Brilliant tutorial!
Thanks!
Subh wrote:
Great Tutorial But I Could Not Get Mesh By Hacking So I Got Byob
BYOB is way easier...
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!
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.
Offline
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
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.
Offline
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?
Last edited by Jonathanpb (2010-06-09 02:14:23)
Offline
Can you add my explanation to the first post?
Offline
johnnydean1 wrote:
Can you add my explanation to the first post?
It's covered in the topic post already...
Offline