User Tag List

Results 1 to 7 of 7

Thread: Text Blitter with Variable Width fonts

  1. #1
    Clicker Fusion 2.5

    Join Date
    Oct 2007
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Text Blitter with Variable Width fonts

    I've found some tutorials, but they're either very nonspecific or for very outdated versions of fusion.

    Apparently it has something to do with arrays, but I can't find good detailed instructions for how the array should be arranged and how to use the text blitter object to mine data from it. Advice would be appreciated, and an example file would be greatly appreciated.

  2. #2
    Clicker Fusion 2.5

    Join Date
    Oct 2007
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please help?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    not sure if this may help or not
    as I've not played very much with blitters
    not enough to see how they can fail with variable width fonts

    but you may check out this very cool widget made by BartekB:
    http://community.clickteam.com/threads/93518-Extension-less-Text-Blitter-Widget?highlight=text+blitter+widget

    It's quite customizable,
    I guess you could tweak font animations to get desired spacing and maybe pull out what you need from this?

    Of course, nothing too refined like a perfect kerning in any situation (I guess)

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Sep 2006
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's quite tricky to do this, but I don't think the Text Blitter object has changed a lot over the years so any tutorial you find would probably still be relevant now. Basically use an array to store the widths of the characters and use the Callback function of the Text Blitter to refer to this and draw the next character at the correct X position.

  5. #5
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    679
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    http://community.clickteam.com/threads/59132-Text-Blitter-Variable-Character-Width

    But I recommend ditching the TB and using an active object one instead, since it's much more flexible.

  6. #6
    Clicker Fusion 2.5

    Join Date
    Oct 2007
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. What I ended up doing was using n_k/podunkian's mfa files to generate and save an array file.

    schrodinger> that widget is really cool, but didn't quite work for what I needed the blittered text to do. But I may have a use for it in other spots. Thanks!

  7. #7
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,165
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Text Blitter with Variable Width fonts

    Are you just wanting text to populate 1 character at a time at a certain rate?

Similar Threads

  1. Text Blitter Fonts
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 24th May 2019, 02:21 PM
  2. Text Blitter Variable Character Width
    By Alonso in forum File Archive
    Replies: 0
    Last Post: 23rd June 2010, 07:17 AM
  3. Text Blitter and variable width letters
    By Zoglu in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th November 2009, 01:17 PM
  4. The Podunkian's Text Blitter Variable Font Width
    By neat_Kliker2 in forum File Archive
    Replies: 3
    Last Post: 14th November 2007, 04:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •