How would I load instance variables of a sprite into a new level?
Develop games in your browser. Powerful, performant & highly capable.
Save it in Dictionary or webstorage and load it back in new level. Look up tutorials to see how it is done.