Discuss Scratch

awsome_guy_360
Scratcher
1000+ posts

How to make a cloud server

Hey umm i was just wondering how to make a cloud server. i saw other games use it….. unfortunately i can no longer find those games that do . Anyways i just want to know how to make a simple server just how to get the players on, make the other players visible, make them move, how to automatically add them when they come on, and if it is as simple as programming a sprite (
ifuparrowthenmove3steps
) <–like that.
Sonickyle
Scratcher
1000+ posts

How to make a cloud server

It's not simple in any way.
Here's a multiplayer project: https://scratch.mit.edu/projects/66146572/
Once you look inside that, you'll want to reconsider making a multiplayer project.
deck26
Scratcher
1000+ posts

How to make a cloud server

I don't think the basic technique needs to be too complicated - my demo here outlines what happens in the method I use https://scratch.mit.edu/projects/77775784/ and which is used in this demo project https://scratch.mit.edu/projects/63501310/.

I'm only managing two player slots but expanding to handle more wouldn't be that difficult as long as you understand the method. Remember there's a limit of 10 cloud variables though.
awsome_guy_360
Scratcher
1000+ posts

How to make a cloud server

Ok thanks i will try to figure it out from here
-Acon-
New Scratcher
3 posts

How to make a cloud server

I Know How to make a cloud sever or a multiplayer sever its quite easy the difference between a cloud sever is that it is used for saving something
A multiplayer sever is when you can play against other people online without (AI)
MultiplayerSeverCloudSeverisalotdifferentwhenclickedforeverset PlayerOneto(join [serverworld)]set PlayerTwoto (join [serverworld)]


Cloud Data
when green flag clicked
change (username)by0
addscoreto Data
awsome_guy_360
Scratcher
1000+ posts

How to make a cloud server

OK, I think I see what you mean. Plus thanks to a few more years of experience, I think I can make a server…. but I'm currently using an engine XD
_TigerJack21_
Scratcher
83 posts

How to make a cloud server

If you want somewhere to start, try this basic cloud platformer I made in testing:
https://scratch.mit.edu/projects/107756411/
awsome_guy_360
Scratcher
1000+ posts

How to make a cloud server

Thx, the other engine I was using was in “3rd person” so I'm glad someone pre-made a “2nd person” cloud engine. =P
Gametechnoidz
Scratcher
4 posts

How to make a cloud server

whenclickedforeverifjoined=0thenifnotplayer1Full=1thensetcurrentUserIDto1set(☁ player1Full)to1setjoinedto1elseifnotplayer2Full=1thensetcurrentUserIDto2set(☁ player2Full)to1setjoinedto1elsesayGame Fullfor5secs

Powered by DjangoBB