Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make a multiplayer game
- Basketbaldude2020
-
Scratcher
81 posts
How to make a multiplayer game
I have an idea of making a multiplayer game but how pls make it and easy script.
- ZavMario
-
Scratcher
13 posts
How to make a multiplayer game
I can help with @griffpatch 's tutorial!
when green flag clicked
set [PLAYER] to [0]
forever
if <[PLAYER] = [1]> then
set [☁P1 - X] to (mouse x)
set [☁P1 - Y] to (mouse y)
end
go to x: (☁P1 - X) y: (☁P1 - Y)
end
when [1] key pressed
set [PLAYER] to [1]
Last edited by ZavMario (Sept. 25, 2021 04:50:00)
- ZavMario
-
Scratcher
13 posts
How to make a multiplayer game
updated! (just to make it more simple)
when green flag clicked
set (PLAYER) to [0]
forever
if <(PLAYER) = [1]> then
set [☁P1 - X] to (mouse x)
set [☁P1 - Y] to (mouse y)
end
go to x: (☁P1 - X) y: (☁P1 - Y)
end
when [1] key pressed
set [PLAYER] to [1]
Last edited by ZavMario (Sept. 25, 2021 04:54:14)
- Basketbaldude2020
-
Scratcher
81 posts
How to make a multiplayer game
i will try and plus the script is from @griffpatch!- Discussion Forums
- » Help with Scripts
-
» How to make a multiplayer game