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

Jul 21, 2014, 08:42 AM
Seren is offline
Reply With Quote
Quote:
Originally Posted by AvalancheMaster View Post
Also, DID I REALLY fell for a typo mistake.
That would suggest you don't have debug mode enabled. It's strongly suggested to have it on whenever you're doing anything with AngelScript. The readme introduction explains how to do that. You may also be interested in this download as, while it couldn't detect a mistake, said mistake would have never been made if the auto-completion feature were used.
Quote:
Originally Posted by AvalancheMaster
And it still doesn't draw the chainlinks of the platform. Only the ball.
That's because jjOBJ::behave, when its second argument is set to false, stops all drawing operations from the behavior. You could solve that by drawing the chain manually but in your case a simpler solution may be to just call behave with the second argument set to true. This will have the effect of your tinted sprite being drawn on top of the regular one, which should be visually identical to what you're trying to achieve.
__________________

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