Discuss Scratch
- Discussion Forums
- » Project Ideas
- » how do you make a multiplayer scratch game
- Twyrch
-
Scratcher
61 posts
how do you make a multiplayer scratch game
HELP! tell me or show me a link to the info i need!
- lbruns
-
Scratcher
500+ posts
how do you make a multiplayer scratch game
You have to use cloud variables I don't understand this but I have a project that will show you here's the link http://scratch.mit.edu/projects/17783489/
——————————————————
Click Here To Apply For My New Game!
——————————————————
Click Here To Apply For My New Game!
Last edited by lbruns (Oct. 11, 2014 01:27:32)
- SpaceKid11
-
Scratcher
500+ posts
how do you make a multiplayer scratch game
You can do 2 types of multiplayer:
Local Multiplayer
or
Online Multiplayer
Local Multiplayer is when you can play a game on the same computer. For example, a platformer where Player 1 uses the WASD keys to move and Player 2 uses the arrow keys to move. This method is easier than online multiplayer.
Online Multiplayer in a Scratch game is hard to pull off. The only project I know of that successfully pulled off real-time multiplayer was a Laser Tag FPS by Griffpatch. Online Multiplayer can be anywhere from a leaderboard to a boss where multiple players fight to defeat. To do the latter of the two examples I metioned, you can make a cloud variable that is the boss's health. When players do damage to the boss, the cloud variable decreases until it reaches 0 and the boss is defeated. Then, players can get rewards based on the damage they did. A leaderboard is an easy way to incorporate an online aspect into a game. You have a cloud variable with the high score in it. If the player gets a higher score than the cloud variable high score, the cloud variable high score is changed. The thing is, Scratch only allows you to use 10 cloud variables, severely limiting the options for making an online game. You could remix Griffpatch's Laser Tag FPS and experiment a bit, but that would require quite a bit of programming knowledge. To wrap up, online multiplayer games are very hard to make. But who knows, maybe you will make a great online game! Good luck!
-SpaceKid11
Local Multiplayer
or
Online Multiplayer
Local Multiplayer is when you can play a game on the same computer. For example, a platformer where Player 1 uses the WASD keys to move and Player 2 uses the arrow keys to move. This method is easier than online multiplayer.
Online Multiplayer in a Scratch game is hard to pull off. The only project I know of that successfully pulled off real-time multiplayer was a Laser Tag FPS by Griffpatch. Online Multiplayer can be anywhere from a leaderboard to a boss where multiple players fight to defeat. To do the latter of the two examples I metioned, you can make a cloud variable that is the boss's health. When players do damage to the boss, the cloud variable decreases until it reaches 0 and the boss is defeated. Then, players can get rewards based on the damage they did. A leaderboard is an easy way to incorporate an online aspect into a game. You have a cloud variable with the high score in it. If the player gets a higher score than the cloud variable high score, the cloud variable high score is changed. The thing is, Scratch only allows you to use 10 cloud variables, severely limiting the options for making an online game. You could remix Griffpatch's Laser Tag FPS and experiment a bit, but that would require quite a bit of programming knowledge. To wrap up, online multiplayer games are very hard to make. But who knows, maybe you will make a great online game! Good luck!
-SpaceKid11
- ScratchingIt28
-
Scratcher
9 posts
how do you make a multiplayer scratch game
Don't get how to make a online multiplyer game still
- Ep1c_M1n10n
-
Scratcher
31 posts
how do you make a multiplayer scratch game
Put this script in the stage
when green flag clicked
if <(players cloud var) < [2]> then
change [Players v] by (1)
set [id v] to [players]
end
if <not <[players] < [2]>> then
say [Sorry no slots avalable! Wait for the creator to kick all players]
end
when [0 v] key pressed
set [players v] to [0 ]
The Player1 Sprite
when green flag clicked
forever
if <key [right arrow v] pressed?> then
if <(Id) = [1]> then
change [player1 X Cloud Varv] by (10)
end
go to x: (PLayer1X) y: (Player1Y)
end
You Know What Else To Do!!
So Stop Reading And Go Do It!!!!!!!!!!!
Just Copy The Script!!!!
end
Last edited by Ep1c_M1n10n (April 12, 2015 22:25:07)
- koder1
-
Scratcher
12 posts
how do you make a multiplayer scratch game
I know a way to have a multiplayer game that allows ten players
- J0hnnoe_2618
-
Scratcher
61 posts
how do you make a multiplayer scratch game
Go to the “help with scripts” tab if you want help with a script.
- baconlover5555
-
Scratcher
100+ posts
how do you make a multiplayer scratch game
go to griffpatch_tutor 's multiplayer engine and figure it out cause i only know s little
- GizzyGazzy360
-
Scratcher
87 posts
how do you make a multiplayer scratch game
when green flag clicked
if <not < = >> then
change by (1)
set to
if <not < = >> then
change by (1)
set to
- GizzyGazzy360
-
Scratcher
87 posts
how do you make a multiplayer scratch game
when green flag clicked
if <not <[cloud players] = [2]>> then
change [could players v] by (1)
set [player id v] to [cloud players]
- AJanik
-
Scratcher
100+ posts
how do you make a multiplayer scratch game
this is a project to look at https://scratch.mit.edu/projects/124681315/
- AJanik
-
Scratcher
100+ posts
how do you make a multiplayer scratch game

Last edited by AJanik (Jan. 3, 2017 00:51:53)
- Greenduck54
-
Scratcher
500+ posts
how do you make a multiplayer scratch game
HELP! tell me or show me a link to the info i need!Either use complicated cloud variable scripts for an online mutiplayer game, or have two c control schemes, and two characters, with each character controlled by another control scheme, for local multiplayer.
- WolfCat67
-
Scratcher
1000+ posts
how do you make a multiplayer scratch game
Whoa! Why is everyone still attempting to answer this resolved question that was in the wrong place in the first place?
The original poster hasn't posted on this topic in over 2 years! I don't think they're still checking out this topic, and it has been subject to LOTS of necroposting.
Requesting for this topic to be closed.
The original poster hasn't posted on this topic in over 2 years! I don't think they're still checking out this topic, and it has been subject to LOTS of necroposting.
Requesting for this topic to be closed.
- Discussion Forums
- » Project Ideas
-
» how do you make a multiplayer scratch game












