DOWNLOAD: drive.google.com/file/d/0B2mWgUxR_IXwY3BmX0M0RXBQX1k/view
Hey, those who have followed Clickteam's Fusion 3 dev blog may have seen this gif:
And maybe, like me, you thought that was pretty damn cool.
Well, stop right there, cause I straight up stole their feature and shoved it into C2. Introducing TextAlignement.
Properties:
Same as Text plugin, but it has a few differences.
- Horizontal Alignement: integer
- Vertical Alignement: integer
- Clamp: Boolean
- Wrapping mode: Combo with 3 outcomes: Word, Character, None
ACES:
Same as Text plugin, but it has 5 new actions and 3 new expression.
Actions:
- Set Horizontal Alignement.
- Set Vertical Alignement.
- Set Alignement.
- Set Clamping mode.
- Set Wrapping mode.
Expression:
- LineHeight (returns Line height, including LineHeightOffset)
- HAlign (returns Horizontal Alignement)
- VAlign (returns Vertical Alignement)
DOWNLOAD: drive.google.com/file/d/0B2mWgUxR_IXwY3BmX0M0RXBQX1k/view
PS: A known issue is that in the editor the text clamps to the 3 usual values. My guess is that in some code I can't access, Ashley used floor(value) instead of just value. If some experimented plugin maker wanna help me with that, it'd be cool
UPDATE LOG :
Version 1.1
- Added Expressions to get horizontal and vertical Align
- Added Property to clamp alignement between 0 and 100 or not
- Added Property to set wrapping mode to no wrapping
- Added Actions to change clamping and wrapping mode at runtime
- Showcase of the new actions and properties: https://cdn.discordapp.com/attachments/ ... -57-12.gif
Version 1.0
- Changed Alignement Properties from a combo box with 3 outcomes to an integer
- Added Actions to change the Alignement at runtime
- Added an Expression to get line height at runtime (this is just a nice addition, nothing to do with alignement)
- Showcase of the new actions and properties: https://cdn.discordapp.com/attachments/ ... -10-26.gif