How to update a variable even when the game is closed for everyone?

I am relatively new to GDevelop and I want to make a score that updates for everyone, so almost like a multiplayer score. If someone does something, everyone gets a point. Problem is, I don’t know how to change the score for everyone when the games is closed. For example, 2 players might be on my game gaining points but a third might not be online and when he joins and the other 2 have left, how do I know the most recent amount of points that they gained. He might still have 30 but everyone else has 100.

Does anyone know how to do that, or is it even possible to?

Yes, leveraging the Firebase integration within GDevelop makes this possible.

For comprehensive details, please refer to the GDevelop documentation on Firebase: Firebase - GDevelop documentation

I highly recommend utilizing Cloud Firestore for this purpose. Firestore is a real-time NoSQL database that enables fast and reliable online data storage. Furthermore, it provides robust offline capabilities, ensuring data persistence even without an active internet connection.

Standard in-game variables won’t cut it when players leave and rejoin. You need a backend service to store and manage this data.

Thank you, I will try it out!