So, doing my usual tomfoolery for my game, I stumbled with this error message: “Texture key already in use: pressenter_text” and thought to myself…
Is there any way to detect this errors to launch an error screen? So that’s what I am trying to figure out, is there any way to trigger a scene when the console or the game detects an error at any time?
I’ll see if that works, thanks! (also, the error was a multiple call for starting a scene, I fixed it adding a check for detecting if the player is or isn’t on a specific state, if it isn’t, it will enable itself, making it so it doesn’t repeat the this.scene.launch)