View Single Post
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Jul 17, 2014, 02:39 PM
Violet CLM is offline
Reply With Quote
SE makes an excellent point re: drawing snow through direct drawSprite calls.

Quote:
Originally Posted by AvalancheMaster View Post
more importantly, bullets & ammo pickups. Fastfire gives blaster ammo + fastfire, bouncers gives ammo + increased range, ice gives ammo + increased duration of freeze, and so on.
Ah. For that you want to define an onObjectHit hook (scroll up a little from the anchor), and additionally jjObjectPresets[OBJECT::FASTFIRE].scriptedCollisions = true; and again for other pickups that you also want to modify in this way.
Quote:
Woah. That's sad and unexpected. Why leftwards facing sprites are any different?
Each of the different SPRITE::Mode constants refers to a distinct set of drawing functions with distinct purposes in the game. Most are used for drawing ingame objects, but RESIZED is only used for stuff like 3D spike bolls, which never need to be horizontally flipped, and PALSHIFT is only used for colored text as caused by | or # characters, and text is never flipped.


We're staying largely mum about what 5.0 will or won't be able to do, so that people will take the time to do cool stuff with 4.3 instead of waiting around patiently for another set of functions to become available, and then another after that, and then another after that... this is planned to change in August, though, as the hype machine warms up again and we look for a release date.
__________________