[Plugin] SpriteFont+

Post your completed addons to share with the community

Post » Mon Nov 18, 2013 11:11 pm

I've created a plugin that extends the existing Sprite font native plugin to include richer support for individual character widths during both editing and runtime. It works really well when used in conjunction with Blackhornet's Give Your Font Mono(spacing) Sprite Font Generator.

You can download it over on codeplex and I've updated the documentation there to show how to use it as well.

The primary benefit is being able to use custom character widths without any extra events and full support while editing. Heres how the 2 plugins look in the edit window versus runtime when the extra events as described in the documentation are used for the native sprite font object:



They end up looking the same but the native plugin is a lot harder to work with when using custom character widths.

Here's a tutorial I wrote to help you get started.thechriskent2013-11-19 20:17:09
B
15
S
5
G
1
Posts: 10
Reputation: 1,480

Post » Tue Nov 19, 2013 12:13 am

@Ashley

Maybe can implement the same thing for official Spritefont object ?
B
82
S
23
G
14
Posts: 389
Reputation: 12,504

Post » Tue Nov 19, 2013 2:38 am

Sweet, will give this a go!
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
81
S
13
G
7
Posts: 969
Reputation: 10,898

Post » Tue Nov 19, 2013 8:55 am

Sweet! Will try it today! :)

Thanks for sharing!
Image | @AurelRegard on twitter
B
19
S
6
G
1
Posts: 307
Reputation: 2,500

Post » Tue Nov 19, 2013 9:46 am

Wow, this is perfect. I assumed it wasn't implemented because it wasn't possible. Great job!

I'd love to see official integration of this too.
Moderator
B
72
S
14
G
11
Posts: 900
Reputation: 11,940

Post » Tue Nov 19, 2013 5:54 pm

Thanks everybody!

I've posted a tutorial for this plugin over here: scirra.com/tutorials/716/using-the-spritefont-plugin
B
15
S
5
G
1
Posts: 10
Reputation: 1,480

Post » Tue Nov 19, 2013 6:23 pm

I think official intergration would be the only way I would use this. I have been caught out big time using 3rd party plugins that broke in newer version of C2 and I don't want to go through that again.
B
37
S
9
G
5
Posts: 437
Reputation: 6,094

Post » Tue Nov 19, 2013 6:44 pm

@czar I would love for this to be officially integrated. Hopefully this plugin will fill in the gap until they are able to add support for custom character widths using the native sprite font. Until then I'll be doing my best to keep it working with each release, but I completely understand your hesitation.
B
15
S
5
G
1
Posts: 10
Reputation: 1,480

Post » Wed Nov 20, 2013 5:01 am

This is great!

Have you contacted Ashley directly offering this plugin as an official addition?

This would be great for a game I'm currently working on, but I'm also wary of using it unless it's official.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
81
S
13
G
7
Posts: 969
Reputation: 10,898

Post » Wed Nov 20, 2013 3:04 pm

@AnD4D Thanks!

I haven't. I would love to see the functionality of this plugin added to the native sprite font. I imagine their work load is generally pretty heavy, but if this issue resonates with enough people I'm sure they'll move it up in priority. In the meantime, I made this plugin to solve my needs and I'm offering it up to anyone that wants it. But I understand being wary of a 3rd party plugin.
B
15
S
5
G
1
Posts: 10
Reputation: 1,480

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests