Plugins: show text by sprites

Post your completed addons to share with the community

Post » Sun Jun 09, 2013 10:41 am

@zharzew
Thanks, I will fix the mis-alignment of center mode.
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Sun Jun 09, 2013 5:41 pm

Update:

Now designer could change all characters opacity , visible from "action: set opacity" , "action: set visible" of layouter object. Or add sine/tween behavior at layouter object to change these properties.

There already has a "pin mode" which could pin all characters onto layouter object. So that all characters could be moved with layouter object.rexrainbow2013-06-09 17:47:18
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Mon Jun 10, 2013 12:34 am

[QUOTE=rexrainbow] @california
I agree, delta distance is not a suitable name in this case. I will try to fix it. Tracing is a great option. Or... Spacing?[/QUOTE] @rexrainbow spacing is more often used in line spacing (also called leading):


http://www.webcomicalliance.com/wp-content/uploads/2011/01/fontfactor-tracking.jpg



http://netdna.webdesignerdepot.com/uploads/small_caps//tracking-vs-leading.png
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Mon Jun 10, 2013 4:32 am

@California

Thanks, one question:
"Tracing" seems to be a length (width) of some characters, is it the same for one character?
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Mon Jun 10, 2013 5:47 am

@rexrainbow

This is great plugin! Thanks rexrainbow.
But I find this plugin show font by creat instance of every character. This may lead low performance on moblie.
Is there some way to optimize it?            
B
9
S
3
G
2
Posts: 54
Reputation: 2,468

Post » Mon Jun 10, 2013 5:52 am

[QUOTE=rexrainbow] @California

Thanks, one question:
"Tracing" seems to be a length (width) of some characters, is it the same for one character?[/QUOTE]
@rexrainbow Tracking defines the same spacing for all the characters.
Kerning defines the spacing between two characters.
Any questions just ask :)
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Mon Jun 10, 2013 5:55 am

@Nofish

Yes, these plugins will create sprites for each character. Designer could control them in event sheet.

Another choice, using sprite font plugin. It creates all characters in one instance.
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Mon Jun 10, 2013 7:06 am

@California

Tracing = Character width + Kerning
Is it true?
B
107
S
25
G
225
Posts: 4,326
Reputation: 128,331

Post » Mon Jun 10, 2013 1:28 pm

@rexrainbow nope, tracking (with a ck) adjusts spacing evenly over a range of characters, i.e. a paragraph.
Tracking = Width of all the characters in a paragraph, applies to all the characters.
Kerning OTOH is the spacing between Only Two characters, it's usually defined by hand (or by auto-kerning) so spacing between letters like "A V" looks more pleasing:
AV (observe how the V overlaps over the letter A).
Without kerning, AV would look like this: A V.
B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Mon Jun 10, 2013 4:43 pm

Just to explain better what California is trying to say, 'tracking' is the spacing between the characters, where the same amount of space is added between all characters, including spaces. It's the '_' in this example:

T_h_i_s_ _is_ _t_r_a_c_k_i_n_g_.

Kerning is the space between pre-defined character pairs. It's meant to compensate the geometry of characters like 'A' and 'V' together. If you align them by their bounding box the space between their oblique shapes will be perceived as larger than strait characters like 'N' and 'H'. So in a font they specify that some pairs of characters overlap their bounding box by some pre-defined amount in order to compensate visually.

But I don't think that Kerning is absolutely necessary for this plugin, and probably would be extremely hard to implement. Having characters with variable width can be enough to avoid that 'l' have a bigger space around than an 'M' for instance.
Scirra Employee
B
140
S
49
G
17
Posts: 708
Reputation: 17,094

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests