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 22, 2014, 08:21 AM
Seren is offline
Reply With Quote
Quote:
Originally Posted by szmol96 View Post
I have found a bug in jjDrawSprite and onDrawLayer. They won't draw anything from sets MENU and VINE or they just draw an exclamation mark from MENUFONT.
Quote:
Originally Posted by Foly
When using drawSprite() from the canvas class or jjDrawSprite() the associated animation isn't loaded.
Quote:
Originally Posted by Violet CLM
This is semi-intentional in order to mirror MCE behavior. jjOBJ::draw is presented as a wrapper for jjDrawSprite, and jjOBJ::draw doesn't load sprites as witness MCEs, so neither does jjDrawSprite. This could certainly be changed without likely breaking any intentional scripting behavior, but I thought I might as well mention where it comes from.
Quote:
Originally Posted by Violet CLM
There is [a way to programmatically load missing sprites]: determineCurAnim.
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.