Hello,
I'm making a plugin where I add picture like this with tilemap.addChild(this.sprite);
Someone on this forum say that I should deference tilemap once I finished to use it with this :
var aliasTerminate = Scene_Map.prototype.terminate;Scene_Map.prototype.terminate = function() { aliasTerminate.call(this); tilemap = undefined;};The problem is, even when I go in menu this function seems to be called ! And so my pictures disappear...
How to solve this ? Thanks !
I'm making a plugin where I add picture like this with tilemap.addChild(this.sprite);
Someone on this forum say that I should deference tilemap once I finished to use it with this :
var aliasTerminate = Scene_Map.prototype.terminate;Scene_Map.prototype.terminate = function() { aliasTerminate.call(this); tilemap = undefined;};The problem is, even when I go in menu this function seems to be called ! And so my pictures disappear...
How to solve this ? Thanks !