[Plugin] tag text

From the Asset Store
Change delay, create new lines, "backspace" the text
  • One more question: can I use a link in the tag text for the user download a pdf?

  • RBuster

    1. There has "Action:Set line height" to set line height of all lines. Setting line height of a specific line is not supported now.

    2. Sorry, embedded link is not supported, either.

  • Thanks for the support rexrainbow

    I'm trying to use a font through the my fonts website and I'm not getting the font I want. I tried to use both options: add by css / tag > font-face.

    Code example

    "Blue{
         font: normal 12pt Univers Pro 45 Light;
    }"[/code:1dpdtek0]
    
    I'm using the trial mode to show the result to my client before that him buy it. This is the address of the font I need to test: [url=http://www.myfonts.com/fonts/linotype/univers/webfont_preview.html#index]http://www.myfonts.com/fonts/linotype/u ... html#index[/url]
    
    Do you have any suggestion?
    
    Edited: Sometimes I get the right font with some delay (after of 1 or 2 seconds). 
    
    My script:
    
    [img="http://i.imgur.com/8A4GhUv.png"]
  • RBuster

    Is "Univers Pro" a web font?

  • Yes. Did you see the link that I have shared?

    Here is the font's names:

    font-family: 'Univers Pro 75 Black'

    font-family: 'Univers Pro 45 Light'

    font-family: 'Univers Pro 55 Roman'

    Here is the code that I need to use in my index:

    <script type="text/javascript">
        (function() {
            var path = '//easy.myfonts.net/v2/js?sid=211228(font-family=Univers+Pro+75+Black)&sid=218105(font-family=Univers+Pro+45+Light)&sid=218106(font-family=Univers+Pro+55+Roman)&key=6fqnzbOmk9',
                protocol = ('https:' == document.location.protocol ? 'https:' : 'http:'),
                trial = document.createElement('script');
            trial.type = 'text/javascript';
            trial.async = true;
            trial.src = protocol + path;
            var head = document.getElementsByTagName("head")[0];
            head.appendChild(trial);
        })();
    </script>[/code:2ck6gnkb]
  • RBuster

    Current tagtext plugin does not support web-font well.

    I will try to add something to load this web-font first, especial the web-font you provided.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks rexrainbow

    I'm having some difficulty to implement subscript numbers/letters. I'm getting always the superscript style instead subscript. If I use vertical-alignment action to bottom, the entire text goes to down, even the text that uses other tag.

    I have tried to include by CSS tag:

    • vertical-align: sub/baseline/bottom with position: relative or not.

    Do you know if I can use subscript style with tag text ?

  • rexrainbow

    I would like to understand why the character goes up when I decrease its size. I don't need a real subscript style, I just want a smaller character that keeps in the baseline. Could you help me with this issue? Thanks in advance.

  • RBuster

    If user want to show characters with multiple size, user should set "Baseline" to "Alphabetic", and set "Shift down" to assign a y-offset manually.

  • Hi

    I have used the "baseline" value to "vertical-align in the "tags by CSS" but I don't know how to set "shift down". Could you give me a simple example of hw to set it?

  • RBuster

    You could find them in properties table of this tagText object. (The table to set initial text content, and color ... etc )

  • Thank you!

  • rexrainbow

    A few posts ago I have commented about the delay when the layout starts. Before showing the right font, the tag text object shows Times New Roman and I didn't figured out how to fix it until now. Do you have any suggestion about it? I'm filling the tag text with the text in the event "on start layout" but 1.0 second after that I defined the tags. Thanks in advance.

    Edited: One more question: Can I use tag text to stretch a font?

  • RBuster

    I am still surveying web-font. Sorry I can not answer now.

    "stretch the text"? It might not possible in tagtext object.

  • Update

    Add "action:set stroke color".

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)