Fullscreen width and height variables returning 100

I solved it. I’m a dumb ;D. I put a class that i got wrong width and height in outside setup and initialized it outside setup (before setup is called) so I got default values of 100

void setup(){
  fullScreen();
}

Game mygame = new Game(); // <----- A class I got the wrong values in the constructor
1 Like