View Single Post
Seren Seren's Avatar

JCF Member

Joined: Feb 2010

Posts: 864

Seren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to allSeren is a name known to all

Nov 23, 2014, 08:20 AM
Seren is offline
Reply With Quote
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.