we're developing a niche Mulitplayer title and thus would like to present the player an accurate number how many people are currently playing the game.
I haven't been able to find a satisfying answer so far, so I'd appreciate any ideas.
Thanks!
Best Answer
C
Customer Support
said
over 5 years ago
Hi Alex,
You could use the Every Minute system script to send this REST API call every few minutes using SparkHttp and then update a value in a runtime collection. Then when a user logs in (or whenever else it's required) this value can be referenced and used.
You could use the Every Minute system script to send this REST API call every few minutes using SparkHttp and then update a value in a runtime collection. Then when a user logs in (or whenever else it's required) this value can be referenced and used.
Axel Dabee
Hi,
we're developing a niche Mulitplayer title and thus would like to present the player an accurate number how many people are currently playing the game.
I haven't been able to find a satisfying answer so far, so I'd appreciate any ideas.
Thanks!
Hi Alex,
You could use the Every Minute system script to send this REST API call every few minutes using SparkHttp and then update a value in a runtime collection. Then when a user logs in (or whenever else it's required) this value can be referenced and used.
Regards,
Liam
- Oldest First
- Popular
- Newest First
Sorted by PopularCustomer Support
Hi Alex,
You could use the Every Minute system script to send this REST API call every few minutes using SparkHttp and then update a value in a runtime collection. Then when a user logs in (or whenever else it's required) this value can be referenced and used.
Regards,
Liam
1 person likes this
Axel Dabee
thanks, that sounds promising. I'll try that.
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics