I made this script and when I tried to activate Mesh offline by doing the stuff on the wiki and changing true to false, but nothing happened. The project is Mesh Racing Game. I used the script:
Sprite 1 Car
when gf clicked
point in direction [90 v]
go to x: [-183] y: [-131]
if <(1/2)=[1]>
set [1/2 v] to [0]
stop script
end
change [1/2 v] by [1]
wait until <(p2)=[here]>
set [p1 v] to [here]
say [Ready!] for [1] secs
say [Go!] for [1] secs
forever
if <key [up arrow v] pressed?>
move [1] steps
end
if <key [left arrow v] pressed?>
turn ccw [1] degrees
end
if <key [right arrow v] pressed?>
turn cw [1] degrees
end
if <key [down arrow v] pressed?>
move [-1] steps
end
end
Sprite 2 Car
when gf clicked
point in direction [90 v]
go to x: [-185] y: [-162]
if <not<(1/2)=[1]>>
set [p2 v] to [missing]
stop script
end
set [p2 v] to [here]
wait until <(p1)=[here]>
say [Ready!] for [1] secs
say [Go!] for [1] secs
forever
if <key [w v] pressed?>
move [1] steps
end
if <key [d v] pressed?>
turn cw [1] degrees
end
if <key [a v] pressed?>
turn ccw [1] degrees
end
if <key [s v] pressed?>
move [-1] steps
end
end
If anyone knows what's going on please help.
Offline
You have to shift-click (hold down shift whilst clicking) the share menu (not the button, the menu) and there will be "host mesh" and "join mesh". With host mesh you must get someone on another computer in the same LAN network (so, another computer in your house) to join mesh and type your IP. With join mesh, YOU type the IP to join THEIR mesh they are hosting. Then you can use mesh features such as variable and broadcast sharing.
Offline