[Plugin] tag text

Post your completed addons to share with the community

Post » Wed Aug 05, 2015 4:40 pm

@norman74

These expression returns valid values after text draw, official text also has the same behavior.
Here is a sample capx.
You could disable/enable all wait actions to see the result.
B
108
S
26
G
268
Posts: 4,456
Reputation: 150,247

Post » Mon Aug 24, 2015 3:53 pm

@rexrainbow:

Really nice plugin, great work!

Do you think you could add a "Bottom" option for the Hotspot?

I would like to use your plugin for a "mini-chat" in a game and this option would helps me a ton with the chat scrollign and all...
I made 2 games so far: www.ID-Games.net
B
11
S
2
Posts: 54
Reputation: 1,403

Post » Thu Sep 03, 2015 5:02 pm

@rexrainbow Great extension!,

I have added classes that affect color and make my text bold. But i have not found an action or a way to underline text. Can anybody assist in how to underline text using this plugin? @part12studios, Perhahs you can help as it seems that you had the same issue?

Many thanks in advanced...
B
106
S
20
G
8
Posts: 155
Reputation: 11,716

Post » Thu Sep 03, 2015 5:51 pm

@animate I wish I could offer some javascript advice but i can't unfortunately.

The way I got around the problem was to increase the speed of typing fast enough that it generally fooled the eye. it wasn't perfect but it became acceptable.

The only way i could see hacking around it for per letter accuracy might be to set up a series of text updates each with a particular word you want underlined actually < >'d so that each letter is underlined so..

hmmm another thought (i haven't used this in a long time) but could you possible underline each letter next to each other and them appear underlined.. or would it just look like a bunch of letters with individual underlines under them? i imagine it would since they are being individually underlined.. tricky.
B
59
S
9
G
1
Posts: 939
Reputation: 6,545

Post » Thu Sep 03, 2015 6:16 pm

Thanks. @part12studios

@ashley, based on an extensive forum search, i have not found a way on how to underline text. Is there a way that this can be accomplished using the native text object or through css in the webfont.
B
106
S
20
G
8
Posts: 155
Reputation: 11,716

Post » Thu Sep 03, 2015 8:57 pm

@Animate: I don't see why it could not be achieve via CSS with "text-decoration: underline", I did not had time to test it so far but...? Try this and keep me updated please. :)
I made 2 games so far: www.ID-Games.net
B
11
S
2
Posts: 54
Reputation: 1,403

Post » Fri Sep 04, 2015 11:52 am

No, sorry, underlining is a CSS feature and not supported in the canvas.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Mon Oct 12, 2015 1:54 pm

@rexrainbow

Really great plugin. It seems I can't change the X/Y position of a Tag Text object if WebGL is disable. Is there a workaround to this? Because some of my visitors don't have WebGL.

Thanks in advance!

(P.S.: Is the TextScroll plugin working even with WebGL disable?)
I made 2 games so far: www.ID-Games.net
B
11
S
2
Posts: 54
Reputation: 1,403

Post » Wed Nov 25, 2015 10:37 pm

It's great but it has bug: TagText.[TextWidth | TextHeight] doesn't work like normal Text. The width is the right side of the last letter instead the most pushed on the right.
B
23
S
5
G
4
Posts: 142
Reputation: 3,262

Post » Sat Nov 28, 2015 9:09 am

Update: Add more hotspot options.

@DavidA13

Done, finally.
B
108
S
26
G
268
Posts: 4,456
Reputation: 150,247

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests