No, you just have to load a sprite before drawing it. For example, the following code will, with no side effects, initially load the MENU set so that it can later be used in jjDrawSprite and jjCANVAS::drawSprite function calls:
Code:
void onLevelLoad() {
jjObjects[0].determineCurAnim(ANIM::MENU, 0, false);
}
__________________
I am an official JJ2+ programmer and this has been an official JJ2+ statement.
|