Discuss Scratch

Invisible_Factory
Scratcher
500+ posts

Anonymous real-time view counter on projects.

I think there should be a real-time view counter on projects, which would help people working with cloud projects to see if their project works or not. The stat will be stored in the cloud history (for easy access) and possibly be a variable inside the editor.
I'm sure there is a workaround, but it is probably a very long workaround.

Although one thing is it should be anonymous, because it can cause scratchers to identify interests of other scratchers. Let's say Scratcher 1 rakes interest in one thing but Scratcher 2 likes another thing. There could be an implied disagreement, so its better to just report this stat as anonymous.
I don't specialize in cloud projects but it seems like something useful to those who are good with cloud.


EDIT: I said a few posts down..
What if we put a check mark that we have to click in order for it to update, otherwise don't update? That way, only the people who need it will turn on the check mark and make it update, combined with "only update when the number of people is different”.
Or maybe change the rate of updating based on the number of people. There are a lot of ways we can reduce the lag.

I would like to hear your thoughts on the “too many updates to the sever” problem, which is the only obstacle so far.

Last edited by Paddle2See (Oct. 13, 2023 18:40:31)

Invisible_Factory
Scratcher
500+ posts

Anonymous real-time view counter on projects.

bump
Za-Chary
Scratcher
1000+ posts

Anonymous real-time view counter on projects.

Are you referring to a counter that says something like “5 people are currently viewing this project”?
miniepicness
Scratcher
1000+ posts

Anonymous real-time view counter on projects.

Za-Chary wrote:

Are you referring to a counter that says something like “5 people are currently viewing this project”?
Yes they are. I support because it means that the people making the project dont have to code it themselves. I also think that there should be a block that says how many people are currently viewing, that only counts people that are allowed to use cloud variables:
(☁ current viewer count :: sensing

Last edited by miniepicness (Oct. 9, 2018 22:45:45)

bidulule
Scratcher
1000+ posts

Anonymous real-time view counter on projects.

I don't support sorry
One of the reasons why the cloud variable have been partially removed is that they increase the servers lags.
Soooo…
Adding a script that send a request to the servers every second and this for the 34 325 678 shared projects would be terribly laggy ^^
Invisible_Factory
Scratcher
500+ posts

Anonymous real-time view counter on projects.

Za-Chary wrote:

Are you referring to a counter that says something like “5 people are currently viewing this project”?
Something like that, yes.
Kind of like youtube's view counter. It registers but is anonymous.

Bump

Last edited by Invisible_Factory (Nov. 13, 2018 04:33:40)

mica43683
Scratcher
500+ posts

Anonymous real-time view counter on projects.

Support. A live view count would be great! But, maybe it should be added next to the “views” thing instead of in the cloud history. Just to show the number of people viewing it, even if it doesn't have cloud variables in it.
epicRedHot
Scratcher
500+ posts

Anonymous real-time view counter on projects.

Partial support, with full support if there is a way to implement it without sending an extra request every frame.
Maybe have the site “ping” the project whenever someone leaves or joins? That would cut down on the amount of cloud updates significantly, and should still be fast enough for whatever it would be used for.

Edit: I'm referring to the block suggestion, the same concept could be used for updating the out-of-project view counter as well.

Last edited by epicRedHot (Nov. 14, 2018 15:10:57)

Invisible_Factory
Scratcher
500+ posts

Anonymous real-time view counter on projects.

epicRedHot wrote:

Partial support, with full support if there is a way to implement it without sending an extra request every frame.
Maybe have the site “ping” the project whenever someone leaves or joins? That would cut down on the amount of cloud updates significantly, and should still be fast enough for whatever it would be used for.

Edit: I'm referring to the block suggestion, the same concept could be used for updating the out-of-project view counter as well.
Sending data towards the server is the main issue.. the idea is people should know how many people are viewing their project at a given time.

What if we put a check mark that we have to click in order for it to update, otherwise don't update? That way, only the people who need it will turn on the check mark and make it update. Combined with the “only update when the number of people is different”.
Or maybe change the rate of updating based on the number of people. There are a lot of ways we can reduce the lag.

epicRedHot
Scratcher
500+ posts

Anonymous real-time view counter on projects.

If it only sent updates to the Scratch server when the page was loaded or unloaded, it wouldn't need to be on a timer, which would cut down on the server load exponentially.
TL_TheLegend
Scratcher
18 posts

Anonymous real-time view counter on projects.

This needs to be closed! This has been implemented.
-Accio-
Scratcher
1000+ posts

Anonymous real-time view counter on projects.

TL_TheLegend wrote:

This needs to be closed! This has been implemented.
No it hasn't
tyeungeyres
Scratcher
7 posts

Anonymous real-time view counter on projects.

Maybe a total view and a in total view counter that you can see yourself in your scratch menu
BestUsernameSoFar
Scratcher
100+ posts

Anonymous real-time view counter on projects.

So basically it would work like this?
So I was the only one using the project.
(current [online users v]) // 1
Then, someone else joined…
(current [online users v]) // 2
Then I decided to stop using the project…
(current [online users v]) // 1
And then the other user stopped using the project.
(current [online users v]) // 0
Is that how it works?
frogadier63
Scratcher
100+ posts

Anonymous real-time view counter on projects.

support
garnetluvcookie
Scratcher
1000+ posts

Anonymous real-time view counter on projects.

BestUsernameSoFar wrote:

So basically it would work like this?
So I was the only one using the project.
(current [online users v]) // 1
Then, someone else joined…
(current [online users v]) // 2
Then I decided to stop using the project…
(current [online users v]) // 1
And then the other user stopped using the project.
(current [online users v]) // 0
Is that how it works?
Most likely

frogadier63 wrote:

support
Please say why you support it. This is a discussion forum, not a ballot box.

—————————————————————————————————————————

Anyways, support. This could be useful for many projects that use cloud data and would reduce the number of cloud variables used in online games. I could also see some pretty cool things made with this project. But since it's kind of like cloud data, would New Scratchers be able to use it?

Last edited by garnetluvcookie (July 9, 2020 20:37:11)

mtech22
Scratcher
1000+ posts

Anonymous real-time view counter on projects.

garnetluvcookie wrote:

-snip—————————————————————————————————————————-

Anyways, support. This could be useful for many projects that use cloud data and would reduce the number of cloud variables used in online games. I could also see some pretty cool things made with this project. But since it's kind of like cloud data, would New Scratchers be able to use it?
Maybe instead of a block, it could be near the love and favourite buttons or the instructions? Support for the same reason, its annoying when you join a cloud game and have no one else online to play with.
notgoodatc0de
Scratcher
100+ posts

Anonymous real-time view counter on projects.

MathLizzard wrote:

Please don't spam.

To the OP, I support this because it's really frustrating when your trying to play a cloud game and no one's there so you end up waiting for so long. Of course, the main issue is the speed at which it would have to update the server. I still support this idea however.
Invisible_Factory
Scratcher
500+ posts

Anonymous real-time view counter on projects.

My original idea was to put it next to the view count/love/favorite area below the embed project window. It can also be done as a block like some of the people suggested here.

Shajiui_Da_Black_Fox
Scratcher
500+ posts

Anonymous real-time view counter on projects.

I don't think this would benefit Scratch as an educational site.

Also it would be quite laggy… imagine having that on the most “popular” scratch project.

It'd be a nightmare…

Powered by DjangoBB