Good day. I have a question. I have a lot of similar objects on layout, by clicking on them with the mouse they are destroyed. How to keep the fact that they destroyed(on db for example), and the next time you load the application they were gone.
Develop games in your browser. Powerful, performant & highly capable.
Check out webstorage, might suit your needs. If you wish to save to some kind of database you'll need .Ajax object and have a PHP script that does the DB magic.