User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25

Thread: I hate to do text in games. Is there any good widgets etc?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question I hate to do text in games. Is there any good widgets etc?

    I really love to make games, but one thing I really dislike to do is the UI, and even more I despise to do the actual text on it, for example the text for information boxes etc. I have looked at some examples etc in the past and I have got some that works quite well, but it is still a drag to work with I have found. Especially when you have different needs, for example you might need one text blitter to be centered over an object with as much space both to the right and the left. Or you might need your text to auto adjust within a given space, like in a speak bubble.

    What widgets and examples do you guys use? Is there some really good ones out there that I might have missed that makes this a lot easier and straightforward? I work cross platform so I only use extensions that are supported on all platforms (mobile,flash,html5 etc)

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jun 2015
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I always use Strings for text. It's easy to create and manipulate text with it.

    I used Formatted Text when I was starting out, but that was a pain to use because Auto Vertical Scrollbar is enabled by default and it needed a background color that matched whatever was behind it. The latter makes it look bad over anything that isn't a solid color. The guide specifically says the String object's "purpose is not to display complex strings or text: use the Formatted Text or the Rich Edit text objects instead.", which is why I used Formatted Text at first. I don't really see why, though.

    By the way, if you're going to have a bunch of separate Strings in one frame that all have the same font/size/color, it's easier to clone the objects instead of setting up the formatting all over again.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    But strings is problem since you need to have the font used installed on the machine to display the correct font?

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,132
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    A good place to start/build from is the various text blitting tutorials/guides found here - http://www.diybandits.com.au/MMF/tut...textblit1.html

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Outcast View Post
    But strings is problem since you need to have the font used installed on the machine to display the correct font?
    You can use font embeed extension to pack the font in the app.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Font embeed extension only windows?

  7. #7
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    I'm actually really interested in this, I'll have a go at making a widget or something like that
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  8. #8
    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)
    I recall having some problems with font embed extension.
    Worked on some machines but not on others...

    Having something solid for font embedding would be really, really useful.

  9. #9
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    So I was messing about with this for quite a long time and reached this state:
    string_widget_test.mfa
    You can have your own fonts, pretty easy to use, has line breaks and you can angle and scale your text.

    The only thing that this is missing is text alignment and some other stuff
    To make the Character Sheet, simply place the Character Image Object, click generate from font and save all the frames inside it.
    Then load all the frames in a new animation inside the TypeFont Active.
    (Don't actually use it though, it corrupted my .mfa for some reason. So when you generate your font, remove the object)

    Don't have Character Image Object?
    CharacterImage.zip
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Robotica's Avatar
    Join Date
    Jul 2015
    Location
    Las Vegas, NV and Orange, CA.
    Posts
    263
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Scroll down on this link to "RPG Text Widget":

    http://www.castles-of-britain.com/mmfexamples-q.htm

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Making text look good
    By JonasKyratzes in forum Fusion 2.5
    Replies: 8
    Last Post: 16th January 2014, 10:57 PM
  2. Is LUA good for user scripting in games?
    By LB in forum Lua Scripting
    Replies: 14
    Last Post: 11th June 2010, 04:14 AM
  3. A good way to send text files?
    By Joeyotrevor in forum Lacewing
    Replies: 2
    Last Post: 29th November 2008, 06:24 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
  •