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

#1 2010-02-03 11:24:15

lapinater12
Scratcher
Registered: 2010-01-18
Posts: 24

how to use mesh on scratch 1.4

i know how to get mesh,but not sure how to work it .can anyone help me!

Offline

 

#2 2010-02-03 14:29:40

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

Re: how to use mesh on scratch 1.4

lapinater12 wrote:

i know how to get mesh,but not sure how to work it .can anyone help me!

Im not that of an expert in this, but you set it up to have a client project and ahost project, the client will connect to the hoster using the cleaver little ip address thing.
The scripting, from what i know, is mostly done with global variables (im not that sure) and broadcasts. The broadcasts can be helpful when you're trying to do something with seperating moving sprites.

Thats all i know, i dont use it.


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

 

#3 2010-02-03 16:02:59

lapinater12
Scratcher
Registered: 2010-01-18
Posts: 24

Re: how to use mesh on scratch 1.4

sorry not how it physically works, how it works with the blocks.

Offline

 

#4 2010-02-04 10:59:59

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

Re: how to use mesh on scratch 1.4

Oh, you just use the sensors for variables and when i recive for broadcasts. And as i said, you need two seperate projects, the host and the client. And on one, a sprite will be broadcasting its movements or changing a variable. And on the other it'll be moving around without you touching it. Sorry if im not being clear.


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

 

#5 2010-02-04 11:26:48

lapinater12
Scratcher
Registered: 2010-01-18
Posts: 24

Re: how to use mesh on scratch 1.4

sorry if i seem like an idiot but how do you use sensors as variables

Offline

 

#6 2010-02-04 14:18:40

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

Re: how to use mesh on scratch 1.4

lapinater12 wrote:

sorry if i seem like an idiot but how do you use sensors as variables

No, part of the sensors thing is that you can check what private variables are. Which if you copy a sprite from the host to the client project, you can use it as a way or making sure the sprite is doing the right things.


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

 

#7 2010-02-04 15:33:45

lapinater12
Scratcher
Registered: 2010-01-18
Posts: 24

Re: how to use mesh on scratch 1.4

now I don't seem like an idiot I properly am one( I really really don't understand!!!!!!!!! mad  )
p.s can you show me with block from the bottom e.g<stop all><when[  ]key pressed><play sound[ <turn cw(  )degrees>

Offline

 

#8 2010-02-04 17:01:11

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

Re: how to use mesh on scratch 1.4

Ok, what i mean with the private variables is:

http://img709.imageshack.us/img709/4789/privatevariable.png

You can supposedly access this on the client projects. Simply because of the mesh, sprites whith the same name and same name of their private, im not sure about the public ones, will change.

Heres how it can be used in a script.

http://img694.imageshack.us/img694/3743/privatevariablechange.png
This script would be used to move the sprite on the host project around.

http://img193.imageshack.us/img193/5476/clientscript.png
Whereas this script would be used in making sure the sprite on the client project.

Anything else i should explain?


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

 

#9 2010-02-05 11:12:47

lapinater12
Scratcher
Registered: 2010-01-18
Posts: 24

Re: how to use mesh on scratch 1.4

no i think i get it now,thanks

Offline

 

#10 2010-02-06 07:04:39

lapinater12
Scratcher
Registered: 2010-01-18
Posts: 24

Re: how to use mesh on scratch 1.4

lapinater12 wrote:

no i think i get it now,thanks

sorry but how do you get a private variable

Offline

 

#11 2010-02-06 08:12:57

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

Re: how to use mesh on scratch 1.4

lapinater12 wrote:

lapinater12 wrote:

no i think i get it now,thanks

sorry but how do you get a private variable

Click on make variable, then click For This Sprite Only


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

 

#12 2010-02-07 09:41:19

lapinater12
Scratcher
Registered: 2010-01-18
Posts: 24

Re: how to use mesh on scratch 1.4

thanks

Offline

 

#13 2010-02-07 10:01:28

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

Re: how to use mesh on scratch 1.4

lapinater12 wrote:

thanks

No problem, and this is from someoe whos only used it twice.


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

 

Board footer