How can I add a save button to my game?

How do I make a save system for my game?

https://clicker.zenogener.repl.co/

Welcome to the community, @Zenogener!

You can add a backend and use Replit DB or use local storage.

2 Likes

But how do I do those things?

You need to define a game state.
Then turn that somehow into a json string and save it in the Replit store database (gratis) with a game name.
You can find tutorials in how to use the Replit database store and the rest depends on your game.

Do not use files …

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.