Discuss Scratch
- Discussion Forums
- » Collaboration
- » How to make cloud shooter game (multiplayer shooting game) on scratch
- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
Actually I am having problem making a project without multiplayer shooting game on scratch so i need some help for cloud engine and connecting it with shooting so please give ur support or say tell how to make it? ^^
- Shaurya-Gupta_1
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
Hi
- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
Hi n thanks for joining so can we continue now?
- Shaurya-Gupta_1
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
can you mail me on shaurya.g2111 and the rest you know right do it pls
- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
I am sorry but as u know we can chat here easily there are blocks too!
- Shaurya-Gupta_1
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
whats your tell the front part ore else it will stop you for 1hr
- Shaurya-Gupta_1
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
but still pls
- Shaurya-Gupta_1
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
you can try my multiplayer engine that I made i use that only wait here join this https://scratch.mit.edu/projects/544541397/ pls don't report it is so that he can look at the engine.
- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
thanks both of u
- Paddle2See
-
1000+ posts
How to make cloud shooter game (multiplayer shooting game) on scratch
I'll move this over to the Collaboration section for you - that's a better fit for this kind of topic 

- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
thanks for the support
- Shaurya-Gupta_1Alt
-
5 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
i'll make some code
- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
ok thanks
- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
if u aren't able to make variable in this then u can tell me some kind of code language for code (leave this text alone if u didn't understood)
- Shaurya-Gupta_1Alt
-
5 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
when green flag clicked
set [Maxplayers v] to [8]
set [Myplayer# v] to [0]
delete (all v) of [Buffer v]
broadcast [Set up opponents v] and wait
switch backdrop to [Joining v]
broadcast [Join game v] and wait
if (Myplayer#)>0 then
switch backdrop to [Joined v]
else
switch backdrop to [Full v]
end
broadcast [Begin v]
when I receive [Begin v]
forever
define Player Tick
define send cloud data
end
define Player tick
go to [mouse-pointer v]
define set cloud # (player) to (value)
if (player)=1 then
set [☁P1 v] to [(value)]
else
if (player)=2 then
set [☁P2 v] to [(value)]
else
if (player)=3 then
set [☁P3 v] to [(value)]
else
if (player)=4 then
set [☁P4 v] to [(value)]
else
if (player)=5 then
set [☁P5 v] to [(value)]
else
if (player)=6 then
set [☁P6 v] to [(value)]
else
if (player)=7 then
set [☁P7 v] to [(value)]
else
set [☁P8 v] to [(value)]
end
define write (val) to encode
set [letter # v] to [1]
repeat (length of [(val)])
set [encode v] to (join [(encode)] (item # of ((letter ((letter)) of [(val)]) v) in [code v] :: code))
change [letter # v] by (1)
end
set [encode v] to (join [(encode)] [00])
define send cloud dataThis is the cloud code of your player
if (Myplayer#<1 then
stop [this script v]
end
add (x position) to [Buffer v]
add (Y position) to [Buffer v]
if (cloud timer)<3 then
stop [this script v]
end
set [cloud timer v] to [0]
set [encode v] to []
define write (username) to encode
repeat (length of [Buffer v] :: Buffer)
define write (item (1 v) of [Buffer v] :: Buffer) to encode
delete (1 v) of [Buffer v]
end
define set cloud # (Myplayer#) to (encode)
Now i will be sending the code of the opponents
- Shaurya-Gupta_1Alt
-
5 posts
How to make cloud shooter game (multiplayer shooting game) on scratch

This is the first code

second

Third

Fourth

Fifth

sixth last.
- Shaurya-Gupta_1Alt
-
5 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
in the third image, you will add your movement.
tell me if you want more clear images.
tell me if you want more clear images.
- Shaurya-Gupta_1Alt
-
5 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
i will send the opponents code on sunbeltbye
- Wettpizza
-
8 posts
How to make cloud shooter game (multiplayer shooting game) on scratch
Shaurya thanks a lot!!!
- Discussion Forums
- » Collaboration
-
» How to make cloud shooter game (multiplayer shooting game) on scratch