Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you make an online game which other people can play?
- Ackar9565
-
17 posts
How do you make an online game which other people can play?
I basically am asking the same question above, but i need some help with codes….i have a basic idea that i will make other players visible with clones but need help from there
- deck26
-
1000+ posts
How do you make an online game which other people can play?
If you mean a multiplayer game there have been lots of forum questions on the topic so searching for ‘multiplayer’ and checking the forum results might help.
Essentially you need to use cloud variables and need to manage the players so new players can only join if there's a spare slot. You also have to cope with the limitations of cloud variables - no alpha characters, just numeric and only 10 variables.
Essentially you need to use cloud variables and need to manage the players so new players can only join if there's a spare slot. You also have to cope with the limitations of cloud variables - no alpha characters, just numeric and only 10 variables.
- Ackar9565
-
17 posts
How do you make an online game which other people can play?
but im a noob at coding, so i need someone to simplify and explain
- deck26
-
1000+ posts
How do you make an online game which other people can play?
I suggest you'd be better building up experience before trying something like this. There's a limit to how much it can be simplified!
If you're determined to do it you need to experiment with cloud variables first to be sure you understand them. The key part is the allocation of player ‘slots’ so that each player is managed separately. This recent post is relevant https://scratch.mit.edu/discuss/topic/117112/ - especially my post with the script.
Once a player has a slot you can allow them to change appropriate cloud variables - eg they might each have an x and y variable to record their position so their movement can be picked up by the other player. Ideally only one player is ever responsible for updating any particular cloud variable.
If you're determined to do it you need to experiment with cloud variables first to be sure you understand them. The key part is the allocation of player ‘slots’ so that each player is managed separately. This recent post is relevant https://scratch.mit.edu/discuss/topic/117112/ - especially my post with the script.
Once a player has a slot you can allow them to change appropriate cloud variables - eg they might each have an x and y variable to record their position so their movement can be picked up by the other player. Ideally only one player is ever responsible for updating any particular cloud variable.
- Ackar9565
-
17 posts
How do you make an online game which other people can play?
I suggest you'd be better building up experience before trying something like this. There's a limit to how much it can be simplified!
If you're determined to do it you need to experiment with cloud variables first to be sure you understand them. The key part is the allocation of player ‘slots’ so that each player is managed separately. This recent post is relevant https://scratch.mit.edu/discuss/topic/117112/ - especially my post with the script.
Once a player has a slot you can allow them to change appropriate cloud variables - eg they might each have an x and y variable to record their position so their movement can be picked up by the other player. Ideally only one player is ever responsible for updating any particular cloud variable.
- deck26
-
1000+ posts
How do you make an online game which other people can play?
http://wiki.scratch.mit.edu/wiki/Cloud_Data
If you use normal variables each copy of the project runs separately and variable changes are not seen by other players. If you want a multiplayer game where different players are on different computers but player A can see things change because of what player B is doing you have to use cloud variables which are updated on the Scratch server and each copy of the project sees the current value of the cloud variables.
If you use normal variables each copy of the project runs separately and variable changes are not seen by other players. If you want a multiplayer game where different players are on different computers but player A can see things change because of what player B is doing you have to use cloud variables which are updated on the Scratch server and each copy of the project sees the current value of the cloud variables.
- Ackar9565
-
17 posts
How do you make an online game which other people can play?
ok, that makes sense
- Patcharisu
-
30 posts
How do you make an online game which other people can play?
I basically am asking the same question above, but i need some help with codes….i have a basic idea that i will make other players visible with clones but need help from there
Can I quote anything even if nobody actually said it?
look at https://scratch.mit.edu/projects/20179538/#fullscreen
- monstermash3
-
1000+ posts
How do you make an online game which other people can play?
Please don't necropost. This topic is over four months old, so it is probably dead by now.I basically am asking the same question above, but i need some help with codes….i have a basic idea that i will make other players visible with clones but need help from thereCan I quote anything even if nobody actually said it?
look at https://scratch.mit.edu/projects/20179538/#fullscreen
- projectday1
-
27 posts
How do you make an online game which other people can play?
so to make a multiplayer game create sprites(players,any amount you want)and a blank one with is going to be called multiplayer or cloud then add this script make these variables
)
and add more depending the amount of the players you want now make these
then make this script on Player1
and you continue with the keys you want them to press and use Player1 Y for jumping ( thats everything I know so they could see them move at the exact time

- deck26
-
1000+ posts
How do you make an online game which other people can play?
Incomplete and, as has already been pointed out, this topic is old and should be treated as closed. so to make a multiplayer game create sprites(players,any amount you want)and a blank one with is going to be called multiplayer or cloud then add this script make these variablesand add more depending the amount of the players you want now make thesethen make this script on Player1and you continue with the keys you want them to press and use Player1 Y for jumping ( thats everything I know so they could see them move at the exact time)
- MLG-FOXY-MLG
-
11 posts
How do you make an online game which other people can play?
Incomplete and, as has already been pointed out, this topic is old and should be treated as closed. so to make a multiplayer game create sprites(players,any amount you want)and a blank one with is going to be called multiplayer or cloud then add this script make these variablesand add more depending the amount of the players you want now make thesethen make this script on Player1and you continue with the keys you want them to press and use Player1 Y for jumping ( thats everything I know so they could see them move at the exact time)
does not work either sinceits uptating on your screen and if you want them too move you have to refresh the page
basicly its not ‘runtime multiplayer’
- BKFighter
-
1000+ posts
How do you make an online game which other people can play?
Helloooo…… v v vIncomplete and, as has already been pointed out, this topic is old and should be treated as closed. so to make a multiplayer game create sprites(players,any amount you want)and a blank one with is going to be called multiplayer or cloud then add this script make these variablesand add more depending the amount of the players you want now make thesethen make this script on Player1and you continue with the keys you want them to press and use Player1 Y for jumping ( thats everything I know so they could see them move at the exact time)
does not work either sinceits uptating on your screen and if you want them too move you have to refresh the page
basicly its not ‘runtime multiplayer’
Incomplete and, as has already been pointed out, this topic is old and should be treated as closed.
- deck26
-
1000+ posts
How do you make an online game which other people can play?
Please don't spam
- deck26
-
1000+ posts
How do you make an online game which other people can play?
Please read through a topic before replying. If you'd done so you'd have realised you're necroposting. try this:
Cloud Test by yuolyuol
- deck26
-
1000+ posts
How do you make an online game which other people can play?
http://wiki.scratch.mit.edu/wiki/Creating_a_Multiplayer_Game
Please read through a topic before replying. If you'd done so you'd have realised you're necroposting. try this:
Cloud Test by yuolyuol
- Discussion Forums
- » Help with Scripts
-
» How do you make an online game which other people can play?