When I try to save my game it saves for sooo looong that it wont finish
Develop games in your browser. Powerful, performant & highly capable.
Are you using the save state system provided by the plugings?
If you are then that is full of TONS of size catches. Please understand that the savestate system primary design is to save the current state of the entire game. This sounds like a good idea. But it is not. Most games don't need every memory facet saved.
When you use savestate and don't specify what not to save. Your going to save every piece of information on every game objects. Every sprite, every state of sound, every array data, EVERYTHING. You are in effect almost saving a copy of the entire game.
A good save system only saves pertinent data. which includes inventory, position, progress of the game. Where as the save state saves far more. if you need or want to proceed to use save state then
use the plugin "don't save". use these these a lot for all your terrain data. because if your using savestate with the tile plugin. Then you saving the state of every tile.