Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to make MULTIPLAYER?
- totyfruity
-
31 posts
how to make MULTIPLAYER?
I am trying to make a multiplayer, i;'ve tryed for years now but it is not working? please help! Could you explain how to or give pictures or anything? I even tryed grtiddpatch's tutoprials and tryed using his code in projects (with credit of course) but it never worked so i've deleted all of those! please help!
- paulogo12345
-
1 post
how to make MULTIPLAYER?
Idk but you could always go to griffpatch's “Massive Multiplayer Platformer” for script. heres the link https://scratch.mit.edu/projects/612229554/
and there's also a tutorial in the description
and there's also a tutorial in the description
- ProSiuozl
-
30 posts
how to make MULTIPLAYER?
Yes! So basically, Cloud Variables have limits.
But you should be fine like this:
But you should be fine like this:
when green flag clicked
forever
wait (0.2) secs
(find a cloud translator)
encode (username)
set [☁️ username v] to [coded value]
set [☁️ x v] to (x position)
set [☁️ y v] to (y position)
end
when green flag clicked
forever
now you want to set any clone with this user-id (☁ username) to the x and y for more contact me on my profile
end
- totyfruity
-
31 posts
how to make MULTIPLAYER?
hiii tysm guys! so should that work? also how come taking code from others does not work? ty!
- lion334
-
100+ posts
how to make MULTIPLAYER?
You can use code from others, specifically using the “Storage” Attribute of scratch. (In your editor on the bottom) Drag & Drop Code from others into there and it will automatically be saved and can be used in a different project. hiii tysm guys! so should that work? also how come taking code from others does not work? ty!
If you want to copy the whole Project, consider remixing or downloading & reuploading.
- totyfruity
-
31 posts
how to make MULTIPLAYER?
hiiii, taking code usinmg backpack does not work. (it transports but the cloud doesnt work)
- SpideyPlaysMC
-
500+ posts
how to make MULTIPLAYER?
I'd say it's likely because you're the only person (or account) playing the project. If you have an alt account that isn't of New Scratcher rank, you can try using the project with it tonight to for play testing purposes. hiiii, taking code usinmg backpack does not work. (it transports but the cloud doesnt work)
- lion334
-
100+ posts
how to make MULTIPLAYER?
Hello, so transporting seems to work by me, maybe try refreshing the page? Otherwide it might be an OS / Scratch Problem. Are you using Scratch Desktop? hiiii, taking code usinmg backpack does not work. (it transports but the cloud doesnt work)
- kpoovakan
-
100+ posts
how to make MULTIPLAYER?
I have no idea, honestly. It would be a LOT easier if cloud variables could store letters because then it would look like this:
Because then the sprite says the other player's username.
when green flag clicked
set [CloudVariable v] to (username)
if <not <(CloudVariable) = (username)>> then
say (CloudVariable v) for (2) secs
end
Because then the sprite says the other player's username.
- Discussion Forums
- » Help with Scripts
-
» how to make MULTIPLAYER?