[PLUGIN] Text Alignement

Post your completed addons to share with the community

Post » Thu Aug 03, 2017 6:09 pm

DOWNLOAD: https://drive.google.com/open?id=0B2mWg ... 0M0RXBQX1k

Hey, those who have followed Clickteam's Fusion 3 dev blog may have seen this gif:
Image

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.

Image

Properties:
Same as Text plugin, but it has a few differences.
  1. Horizontal Alignement: integer
  2. Vertical Alignement: integer
  3. Clamp: Boolean
  4. 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:
  1. Set Horizontal Alignement.
  2. Set Vertical Alignement.
  3. Set Alignement.
  4. Set Clamping mode.
  5. Set Wrapping mode.

Expression:
  1. LineHeight (returns Line height, including LineHeightOffset)
  2. HAlign (returns Horizontal Alignement)
  3. VAlign (returns Vertical Alignement)

DOWNLOAD: https://drive.google.com/open?id=0B2mWg ... 0M0RXBQX1k

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
Last edited by skymen on Sun Aug 06, 2017 1:36 pm, edited 1 time in total.
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 228
Reputation: 3,388

Post » Thu Aug 03, 2017 6:23 pm

Beautiful
B
13
S
3
Posts: 22
Reputation: 1,195

Post » Thu Aug 03, 2017 6:28 pm

@metalmuscles I know right :). Download the plugin and see the exemple where it's 60FPS. It's hypnotizing :D
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 228
Reputation: 3,388

Post » Sun Aug 06, 2017 8:56 pm

New Update of the text alignement plugin. It now allows you to change wrapping in runtime and to align the text out of its own bounds.
With it you can achieve that kind of effects:
Image
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 228
Reputation: 3,388


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests