Sign In Register

How can we help you today?

Start a new topic
Answered

Show amount of Players currently in the game

 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!


Best Answer

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


Answer

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
Hi Liam,

thanks, that sounds promising. I'll try that.

 

Login to post a comment