Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Why won’t my multiplayer scripts work?
- ScratchCatHELLO
-
1000+ posts
Why won’t my multiplayer scripts work?
I have tried the scratch wiki method, and a lot of people’s are way too complicated and confusing. I need a multiplayer engine that’s simple (right now I don’t need something complicated) that works. Please help.
-ScratchCatHELLO
-ScratchCatHELLO
- hirsh001
-
100+ posts
Why won’t my multiplayer scripts work?
It depends on what kind of game you are making, and by multiplayer, do you mean across the cloud?
- ScratchCatHELLO
-
1000+ posts
Why won’t my multiplayer scripts work?
I am making a multiplayer test, so the character can just move around the screen, and yes, across the cloud It depends on what kind of game you are making, and by multiplayer, do you mean across the cloud?
- Alberknyis
-
1000+ posts
Why won’t my multiplayer scripts work?
It's probably best to stay away from complicated projects for now. Multiplayer games are difficult to do in Scratch. How far have you gotten in the multiplayer project you're trying to make?
- brtommygun
-
20 posts
Why won’t my multiplayer scripts work?
im making one but it has limited capacity of people on the project at once.
I had a discussion with someone that was helpful on the https://scratch.mit.edu/discuss/topic/286961/?page=1#post-2935325 the it might be helpful
also look up saving data on scratch wiki then your sorted
I had a discussion with someone that was helpful on the https://scratch.mit.edu/discuss/topic/286961/?page=1#post-2935325 the it might be helpful
also look up saving data on scratch wiki then your sorted
- ScratchCatHELLO
-
1000+ posts
Why won’t my multiplayer scripts work?
I have the whole project essentially done, it’s just the cloud bit isn’t working. It just says “new scratcher or not connected” It's probably best to stay away from complicated projects for now. Multiplayer games are difficult to do in Scratch. How far have you gotten in the multiplayer project you're trying to make?
- ScratchCatHELLO
-
1000+ posts
Why won’t my multiplayer scripts work?
I’m using two players a game. Also how would saving data help? I’m just make it so people can join each other, not a full-scale thing im making one but it has limited capacity of people on the project at once.
I had a discussion with someone that was helpful on the https://scratch.mit.edu/discuss/topic/286961/?page=1#post-2935325 the it might be helpful
also look up saving data on scratch wiki then your sorted
- brtommygun
-
20 posts
Why won’t my multiplayer scripts work?
oh whats the type of game I am making a multiplayer PRG.
I am up to the part were I separate the users to different sprites but its hard.
I am up to the part were I separate the users to different sprites but its hard.
- brtommygun
-
20 posts
Why won’t my multiplayer scripts work?
I have the whole project essentially done, it’s just the cloud bit isn’t working. It just says “new scratcher or not connected” It's probably best to stay away from complicated projects for now. Multiplayer games are difficult to do in Scratch. How far have you gotten in the multiplayer project you're trying to make?
I think that you need a script that recognises if someone is not logged in
- brtommygun
-
20 posts
Why won’t my multiplayer scripts work?
Last edited by brtommygun (Dec. 25, 2017 18:59:09)
- brtommygun
-
20 posts
Why won’t my multiplayer scripts work?
Ice cream better than nothing and nothing is better than cake
- hirsh001
-
100+ posts
Why won’t my multiplayer scripts work?
I wish that were completly true, then multiplayer would be a lot siimpler (In my eyes)I have the whole project essentially done, it’s just the cloud bit isn’t working. It just says “new scratcher or not connected” It's probably best to stay away from complicated projects for now. Multiplayer games are difficult to do in Scratch. How far have you gotten in the multiplayer project you're trying to make?
I think that you need a script that recognises if someone is not logged in
- brtommygun
-
20 posts
Why won’t my multiplayer scripts work?
I wish that were completly true, then multiplayer would be a lot siimpler (In my eyes)I have the whole project essentially done, it’s just the cloud bit isn’t working. It just says “new scratcher or not connected” It's probably best to stay away from complicated projects for now. Multiplayer games are difficult to do in Scratch. How far have you gotten in the multiplayer project you're trying to make?
I think that you need a script that recognises if someone is not logged in
Is it not comleatly true scratch needs a
then we could block out all new scratchers so that they didn't mess up the cloud variables.
- EpicMeHaha
-
2 posts
Why won’t my multiplayer scripts work?
I have the whole project essentially done, it’s just the cloud bit isn’t working. It just says “new scratcher or not connected”
Same with me, i used scratch wiki and basically copied it all and it still doesn't work!
You can always try a fake multiplayer and pretend that other people are online, i've even done a fake leaderboard!
- Alberknyis
-
1000+ posts
Why won’t my multiplayer scripts work?
Programming a multiplayer engine is difficult because it requires you to do these three things:
Step 2 requires you to know how to convert information from a list into a number. Step 3 basically requires you to be able to use the timer block. Step one in my opinion is the hardest (but that might be because I never got past that step) because you need to know how to deal with an allocating collision (when two players try to use the same cloud variable). I'd recommend you add player slots by checking the username of the player, basically brtommygun's solution. The problem is since it checks specific usernames only those people can use the project, but it lets you skip step 1 (since you used the scratch wiki you might already be doing this.)
Could you share the project? I'd like to be able to check what might be going wrong.
- Add a player slot when a player joins
- Continuously send information through a cloud variable
- Remove a player slot when a player leaves
Step 2 requires you to know how to convert information from a list into a number. Step 3 basically requires you to be able to use the timer block. Step one in my opinion is the hardest (but that might be because I never got past that step) because you need to know how to deal with an allocating collision (when two players try to use the same cloud variable). I'd recommend you add player slots by checking the username of the player, basically brtommygun's solution. The problem is since it checks specific usernames only those people can use the project, but it lets you skip step 1 (since you used the scratch wiki you might already be doing this.)
Could you share the project? I'd like to be able to check what might be going wrong.
- cs986870
-
16 posts
Why won’t my multiplayer scripts work?
Scratch said something about cloud variables can't hold letters, I was trying to use a server list but it didn't work and then Scratch said they will be making that possible soon but it hasn't come out yet :(.
- hirsh001
-
100+ posts
Why won’t my multiplayer scripts work?
wait so if the timer block stops running for one person you could use that to tell that they are no longer logged in?
- ScratchCatHELLO
-
1000+ posts
Why won’t my multiplayer scripts work?
That list makes it look easy and I already published it and I am going to get the link Programming a multiplayer engine is difficult because it requires you to do these three things:
- Add a player slot when a player joins
- Continuously send information through a cloud variable
- Remove a player slot when a player leaves
Step 2 requires you to know how to convert information from a list into a number. Step 3 basically requires you to be able to use the timer block. Step one in my opinion is the hardest (but that might be because I never got past that step) because you need to know how to deal with an allocating collision (when two players try to use the same cloud variable). I'd recommend you add player slots by checking the username of the player, basically brtommygun's solution. The problem is since it checks specific usernames only those people can use the project, but it lets you skip step 1 (since you used the scratch wiki you might already be doing this.)
Could you share the project? I'd like to be able to check what might be going wrong.
- ScratchCatHELLO
-
1000+ posts
Why won’t my multiplayer scripts work?
Maybe wait so if the timer block stops running for one person you could use that to tell that they are no longer logged in?
- Discussion Forums
- » Help with Scripts
-
» Why won’t my multiplayer scripts work?