User Tag List

Results 1 to 4 of 4

Thread: Maybe Extension Idea? String++?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on
    Tim's Avatar
    Join Date
    Apr 2007
    Location
    NSW - Australia
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Maybe Extension Idea? String++?

    So today I was attempting to make a string object "fade in" and "fade out" which I eventually got working. However I came across another problem, I wasn't able to resize the string object during runtime :/ (Probably due to the fact that the string would need to be redrawn, etc...)

    So I guess my question is this:
    Does any object already exist that can resize the String Object (note: I've already tried Object Resizer and that didn't seem to work :/ ).
    Otherwise, is it possible to create an extension, almost identical to the string object, that can resize the object?
    ps: The reason I am using the string object over other objects, like Character Image, Text Blitter, etc... is that I wish to keep the string as user customizable as possible (ie: Font Name, Font Size, Colour, etc...)

    Thanks and Regards
    Tim Ellis

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maybe Extension Idea? String++?

    Hello again Tim, hope all's well.

    The string object automatically takes whatever vertical height is needed, as for horizontal..

    If you handle line-wrapping manually, then it isn't a problem.

    Initially set the width to something large (say the screen width) and insert a newline whenever the real text width exceeds the virtual/desired width.

    Good luck

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleUnicode Add-on
    Tim's Avatar
    Join Date
    Apr 2007
    Location
    NSW - Australia
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maybe Extension Idea? String++?

    hey SEELE,
    I did think of doing this but I guess I don't know how to get a "desired width" (probably screen size) because different fonts have different sizes and I want to allow the user to change the font and font size too. If you have an idea on how to do this, would you mind sharing an example?

    Thanks and Regards
    Tim Ellis

  4. #4
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Maybe Extension Idea? String++?

    For you. Anything.

Similar Threads

  1. Extension-Idea : 3D for Flash
    By Pharanygitis in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 7th July 2010, 06:59 PM
  2. Visualizer Extension Idea
    By BrandonC in forum Extension Development
    Replies: 5
    Last Post: 29th March 2009, 02:36 AM
  3. Extension idea
    By xhedgehogx in forum Extension Development
    Replies: 11
    Last Post: 20th November 2008, 02:49 PM
  4. extension idea.
    By looner in forum Extension Development
    Replies: 15
    Last Post: 19th March 2007, 07:59 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
  •