How can I add a save button to my game?

How do I make a save system for my game?

Welcome to the community, @Zenogener!

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


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 …


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