View Single Post
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,993

Violet CLM has disabled reputation

Feb 19, 2017, 03:13 PM
Violet CLM is online now
Reply With Quote
TrueColor v1.1 is out.
  • TrueColor images are drawn at 50% opacity if jjANIMFRAMES::transparent is true for the first animframe in an image. (New property bool TrueColor::Coordinates::transparent is added for setting this.)
  • New function TrueColor::EnableCaching automates the process of regenerating all the animframes every time the palette is changed. (beach2.j2as has been updated to show how much easier this is than doing it by hand.)
  • Two new constructors for TrueColor::Bitmap, including one from jjSTREAM, plus a swizzle method to save time.
  • If the filename passed to the TrueColor::Bitmap string constructor already ends in ".bmp" (case insensitive) then ".bmp" will not be added to it.
  • Fixed bug of TrueColor::Coordinates' hotspot/coldspot/gunspot properties not being applied by TrueColor::Bitmap::saveToAnimFrames, only by TrueColor::AllocateSpriteSheet.
  • The width and height properties of TrueColor::Bitmap are now read-only, which is technically not backwards compatible but those were not properties you had any business editing so hopefully that won't be a problem.
__________________