Well... Thanks to
waiicodingforum but I can't use a global variable... the why is pretty simple: I am using it as an object calling it with:
Code:
var myGame = new FGGE();
I am not sharing this because you could misunderstand me as a newbie trying to make something too advanced for me...
In fact this is not my whole code, but just the buggy portion, and I know how to count loaded images, but I want to do it in classes way...
To
DaveyErwin sorry but I didn't understand your post...
Finally, at
rnd me, that works, and I consider this pretty awesome, I never had such an idea!