Hi again guys, sorry about the number of messages, but I don’t see any question like this already asked
So, I am working on a levels-based game, so, when the player hit esc. during his game, a pausemenu appears. In this one, he can chose to restart the level. To do this, I just added :
if (collidePoint("pauserestart", this.mouseX, this.mouseY)) {
if (Input.mouseReleased) {
GameVariables.paused = false;
FP.world = new GameWorld;
}
}
Thing is, when I click, an error appears : [Fault] exception, information=ArgumentError: Error #2015: BitmapData non valide.
But I don’t have any BitmapData in my program. I never used this oO
Moreover, this error also appears, sometimes, when I am in game (and only in game, it doesn’t appear when I do this in MENUWORLD or even SETTINGSWORLD), this error appears when I click “ù” to open the console
Thanks in advance guys,
Regards, Enzo