Discuss Scratch

DexterEast
Scratcher
100+ posts

Cloud Multiplayer

Hello, I am making a simple Cloud Multiplayer Game. In this game, there would be no moving, just a list of players in the game and a way to choose random of the players in the game.
The_Imaginarium
Scratcher
1000+ posts

Cloud Multiplayer

ok…you need any help?
DexterEast
Scratcher
100+ posts

Cloud Multiplayer

The_Imaginarium wrote:

ok…you need any help?
yeah, sorry
The_Imaginarium
Scratcher
1000+ posts

Cloud Multiplayer

what do you need help with?
DexterEast
Scratcher
100+ posts

Cloud Multiplayer

The_Imaginarium wrote:

what do you need help with?
what I said up there
Zoman23
Scratcher
72 posts

Cloud Multiplayer

Could you specify what specifically you need? If you want to work with other people go to the Collaborations page.
DexterEast
Scratcher
100+ posts

Cloud Multiplayer

Zoman23 wrote:

Could you specify what specifically you need? If you want to work with other people go to the Collaborations page.
I did, i want a list of players and a way to choose one of those layers
AksharPremnath
Scratcher
500+ posts

Cloud Multiplayer

DexterEast wrote:

Zoman23 wrote:

Could you specify what specifically you need? If you want to work with other people go to the Collaborations page.
I did, i want a list of players and a way to choose one of those layers

I think what you want is a cloud list engine for adding the players online to the list and you need to pick one of the items from the list randomly using
(pick random (1) to (length of [list v] :: list))

Last edited by AksharPremnath (April 2, 2021 18:29:13)

The_Imaginarium
Scratcher
1000+ posts

Cloud Multiplayer

I recommend this cloud tutorial: https://scratch.mit.edu/projects/451667872/
Since cloud variables can only hold numbers, you'll need to encode usernames to numbers.

Powered by DjangoBB