Discuss Scratch

LP372
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

useful for multiplayer games

Projects I want people to see:
https://scratch.mit.edu/projects/1018171720
randomguy3513
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

LP372 wrote:

useful for multiplayer games
can't you just code your own player counter? I think that's possible.


(Male) (He/Him) (2000+ posts) (4 Years)
Banner by depresso-boiyo, check him out!
Ctrl+shift+down to check out my projects!


Thanks for scrolling; if you like what I do, please follow me!
LP372
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

randomguy3513 wrote:

LP372 wrote:

useful for multiplayer games
can't you just code your own player counter? I think that's possible.
this would be visible before you click on a project as well

Projects I want people to see:
https://scratch.mit.edu/projects/1018171720
yadayadayadagoodbye
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

How would this even work? Information on the project, except for cloud variables, do not update real time…

Scratchers that I've cati-fied
LP372
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

yadayadayadagoodbye wrote:

How would this even work? Information on the project, except for cloud variables, do not update real time…
you would have to refresh to update, but it would be good to check if you should go on a multiplayer game

Projects I want people to see:
https://scratch.mit.edu/projects/1018171720
cactus-cacti
Scratcher
100+ posts

Ability to see how many people are currently viewing a project

randomguy3513 wrote:

LP372 wrote:

useful for multiplayer games
can't you just code your own player counter? I think that's possible.
would that work like this:
when I receive [player joins v]
change [(cloud) player count v] by (1)

starlightsparker
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

cactus-cacti wrote:

randomguy3513 wrote:

LP372 wrote:

useful for multiplayer games
can't you just code your own player counter? I think that's possible.
would that work like this:
when I receive [player joins v]
change [(cloud) player count v] by (1)
I guess so. There would obviously more code behind the broadcast and variable tho

Last edited by starlightsparker (March 22, 2024 19:57:52)


✮˚. ᵎᵎ ?彡⋆。˚ starlight !! * ੈ✩‧₊˚ ✧˖° female !! ⋆。°✩ they.them !!‧˚₊ muslim !!✶ .ᐟ
︶꒦꒷order at star's cafe! served w/ love꒷꒦︶
star's cafe is a store to order banners, pfps, and more!
(rounded) 1000th post | (actual) 1000th post | first post
~ pakistani muslim ~ ~ born in arabia ~ palestine supporter! ~
stop the Islam hate!useful custom blockslatest projectcomment herePython Learning History
Scratch inspired me to want to become a programmer when i grow up. I plan on learning python :>
-Rodri
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

Why can't you make your own? It seems simple enough. If you can code a multiplayer game, you can make a counter, that's just an assumption though.

Sent from Samsung Fridge Model RRSGR-34563








they say im gifted but i can't even spell proboably or simoustaniously correctly

omg when you search up “Samsung Fridge Model RRSGR-34563” one of my forums posts are the top result!!111


Have you ever wanted to rule the world?
Get Homework Help here!

✨Yassify the world with kindness✨

I'm Mexican/American
I speak Spanish and English (et un peu de francais)
I'm a roman catholic
I'm smart but have no street smarts
Straight Male
Goals:
Be a better forumer
WallydogChoppychop
Scratcher
500+ posts

Ability to see how many people are currently viewing a project

cactus-cacti wrote:

randomguy3513 wrote:

LP372 wrote:

useful for multiplayer games
can't you just code your own player counter? I think that's possible.
would that work like this:
when I receive [player joins v]
change [(cloud) player count v] by (1)
It's not that simple as when a player leaves, how do you detect that?
And what if someone has 100 tabs open of the same page?

Kumquats are tasty
I started scratch in 2.0
Is that a rare thing?
SOME ONE TELL ME
(Removed by moderator - Please don't show disturbing images of kumquats)

I'm asleep like all the time…
starlightsparker
Scratcher
1000+ posts

Ability to see how many people are currently viewing a project

WallydogChoppychop wrote:

cactus-cacti wrote:

randomguy3513 wrote:

LP372 wrote:

useful for multiplayer games
can't you just code your own player counter? I think that's possible.
would that work like this:
when I receive [player joins v]
change [(cloud) player count v] by (1)
It's not that simple as when a player leaves, how do you detect that?
And what if someone has 100 tabs open of the same page?
True but if one can code a MULTIPLAYER game which is NOT easy to code they can certainly code a counter, or maybe I’m overestimating them. Also, what do 100 tabs have to do with any of this?

✮˚. ᵎᵎ ?彡⋆。˚ starlight !! * ੈ✩‧₊˚ ✧˖° female !! ⋆。°✩ they.them !!‧˚₊ muslim !!✶ .ᐟ
︶꒦꒷order at star's cafe! served w/ love꒷꒦︶
star's cafe is a store to order banners, pfps, and more!
(rounded) 1000th post | (actual) 1000th post | first post
~ pakistani muslim ~ ~ born in arabia ~ palestine supporter! ~
stop the Islam hate!useful custom blockslatest projectcomment herePython Learning History
Scratch inspired me to want to become a programmer when i grow up. I plan on learning python :>

Powered by DjangoBB