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

#1 2010-01-24 23:39:15

itsmomito
Scratcher
Registered: 2008-03-28
Posts: 100+

Online Chatting Scratch Program- Mesh Required!!!!!

Using Mathwizze's Mesh tutorial, i have activated mesh on my scratch image file, i have created an muliperson chat box which allows you to chat with other people like Skype or messenger except only in your network. If you know what mesh is and would like to see what it is or to use it, go to my profile and download it! Note- Read the instructions on the right hand side of my Chat box, have fun with it. This is for reals! Real person to person instant communication between two people using Scratch in a network! If you don't know what mesh is, but would like to try this out, post a reply and I will link you to Mathwizze's tutorial.

Last edited by itsmomito (2010-01-28 10:03:13)

Offline

 

#2 2010-01-26 17:04:59

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: Online Chatting Scratch Program- Mesh Required!!!!!

I know what it is and have set it up but how do I insert a variable into the http://i48.tinypic.com/28vbz20.jpg block?


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#3 2010-01-27 22:43:22

itsmomito
Scratcher
Registered: 2008-03-28
Posts: 100+

Re: Online Chatting Scratch Program- Mesh Required!!!!!

This is for the person who asked me how to use sensor blocks.

I have a Mac, tell me if you have windows.

To make a sensor block work, make sure you have already done these things first-

1. Make sure mesh is enabled, read this tutorial-

http://scratch.mit.edu/projects/MathWizz/849173

2. Download Scratch 1.4 twice saving the folders you download in different names. The reason why you do this is so you can open two Scratch windows at the same time, one from each folder, One scratch program doesn't allow you to open two windows from it. You need two scratch windows to program mesh games.( Note- By two windows I don't mean operating systems) This is what my scratch folders look like:

http://img191.imageshack.us/img191/7235/23461315.png

3. To start making the project in which you
want to use the sensor block for, Open both scratch programs and have two windows side by side to use like this:

http://img192.imageshack.us/img192/8614/28661243.png

After you are sure you have done those things, to use the sensor block:

Connect the two windows, press shift + left click with the mouse on the share button next to edit, and it should say host or share mesh. Click Host Mesh, it will pop up with an ip adress which is yours, don't click ok. If you did press shift + left click with the mouse on the share button next to edit and click show ip adress. Go to the other window and press shift + left click with the mouse on the share button next to edit, click on join. It will ask for your ip adress, type in the ip adress from the other scratch window, put all the .'s and don't type anything wrong. You have now connected them. using this same way you can play the mesh game when you have completed the project.

Test it out, make one variable on window 1. unfortunately this picture doesn't show.

http://img51.imageshack.us/i/37890887.png

Go to window two, drag one sensor block to your script area.
Click on the black triangle to open up a list:

http://img682.imageshack.us/img682/4307/83649261.png

This is the list with out the variable:

http://img268.imageshack.us/img268/2619/18252932.png

The variable you made on window one will be shown at the bottom of the sensor block's list on window two like this one, in this case the variable is game.

http://img51.imageshack.us/img51/2625/37890887.png
That is how to use sensor values! Tell me if it works, if not I will give further instructions.

You can use broadcast and recieve instead of sensor values or both too.

Last edited by itsmomito (2010-01-28 10:38:52)

Offline

 

#4 2010-01-27 23:28:45

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Online Chatting Scratch Program- Mesh Required!!!!!

itsmomito wrote:

...
To make a sensor block work, ...

I was wondering how to make a multiplayer game.
http://img194.imageshack.us/img194/654/thankss.png
and all I had to do was link to myself.

Last edited by what-the (2010-01-27 23:32:25)


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#5 2010-01-28 01:05:09

itsmomito
Scratcher
Registered: 2008-03-28
Posts: 100+

Re: Online Chatting Scratch Program- Mesh Required!!!!!

If you have mesh set up this is the information you need:

This tutorial tells you the basics of making a multiplayer game, if you still want more i will tell you-

Tutorial- http://scratch.mit.edu/projects/martianshark/713175

These are several Multiplayer games I made-

1.Tug of War- Player one taps l key, Player two on another computer taps l key
Link- Person 1: http://scratch.mit.edu/projects/itsmomito/859452
       Person 2: http://scratch.mit.edu/projects/itsmomito/859455
Status- Available for download

2. Chat Box- Chat with each other across your network
Link- Person 1: http://scratch.mit.edu/projects/itsmomito/854493
       Person 2: http://scratch.mit.edu/projects/itsmomito/854494
Status-Availble for download

3. Mesh Race- realistic simulation of racing with two people
Link- Person 1: http://scratch.mit.edu/projects/itsmomito/854493
       Person 2:http://scratch.mit.edu/projects/itsmomito/864537
Status- Beta Stage- much slower online.

Note- When making multiplayer games you should have two separate projects, one for each person who is playing.

Last edited by itsmomito (2010-01-28 19:50:40)

Offline

 

#6 2010-01-28 07:17:51

kcdscratch
Scratcher
Registered: 2008-09-19
Posts: 34

Re: Online Chatting Scratch Program- Mesh Required!!!!!

itsmomito wrote:

Using Mathwizze's Mesh tutorial, i have activated mesh on my scratch image file, i have created an online chat box which allows you to chat with other people like Skype or messenger. If you know what mesh is and would like to see what it is or to use it, go to my profile and download it! Note- Read the instructions on the right hand side of my Chat box, have fun with it. This is for reals! Real person to person instant communication between two people using Scratch! If you don't know what mesh is, but would like to try this out, post a reply and I will link you to Mathwizze's tutorial.

You said you can connect with people online, but to clarify. You may ONLY connect computers using the same internet connection, NOT anyone online.


http://scratch.mit.edu/projects/kcdscratch/1202796 check out my Sonic Advance 2 game!

Offline

 

#7 2010-01-28 10:02:20

itsmomito
Scratcher
Registered: 2008-03-28
Posts: 100+

Re: Online Chatting Scratch Program- Mesh Required!!!!!

Sorry, i wrote that on accident, yes I know you can only connect with people in your network.

Offline

 

Board footer