SpriteFont (v0.99.5RC) - new update, small bugfixes

Post and try out addons that are currently in development.

Post » Sun Oct 25, 2009 9:47 pm

You can right-click in the animation frames window and choose Import, pick an image, and define the size of each "cut" out of the picture. Then I suppose you need to crop the frames if you don't want fixed-width fonts.
B
5
S
2
G
3
Posts: 234
Reputation: 1,818

Post » Fri Oct 30, 2009 8:27 pm

I'm trying to create text that follows the position of the player. Is there a way to move the text around the screen easily? The only way seems to be using "for each object" to move individual letters around.

Thanks!
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Fri Oct 30, 2009 8:59 pm

wow
I can't believe I forgot the Set Position action

for now you can Attach to Object, and then move the object
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Fri Oct 30, 2009 11:05 pm

Thanks for looking into that Lucid. I can't get it to work right with Attach to Object, so I'll just stick with a system font until the Set Position action is in.
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Sat Oct 31, 2009 12:57 am

here's how you do it.
[url:qv2pvonj]http://dl.getdropbox.com/u/1013446/s/hellodrag.cap[/url:qv2pvonj]
I know it crude, and it lags slightly behind.
but it works
the lagging thing won't happen with the next thing. I might be able to unlag this one as well
it could take a little time though
I'm really deep into some s stuff at the moment
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sat Oct 31, 2009 8:53 pm

I'm having trouble because the text is created on a UI layer that doesn't zoom or move with the camera. The player is on a layer that can be zoomed in or out and not always in the center of the screen because of the camera lag. I'm sure there's an equation to handle all that, but I've decided to just use the sprite font at the bottom of the screen to make it simpler.

Thanks again for looking at this though!
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Wed Nov 11, 2009 8:44 am

Small suggestion, clear text after delay.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Wed Dec 02, 2009 6:22 pm

I love this plugin but I would like some clear docu on importing sprite fonts, as while the example shows easily how to use the plugin it doesn't explain how to change fonts.
B
2
S
1
G
3
Posts: 43
Reputation: 1,086

Post » Wed Dec 02, 2009 9:15 pm

sorry for the delayed response
the hello world tutorial has the importation of a sprite font
unfortunately, there is no easy way to cut up the sprites into individual frames, unless they are evenly spaced
I was going to make an app to speed the process, but that's far, far on the back burner, as I really need to continue development on my game while I still have a job.
you basically just make each letter a frame in a sprite
if they are in order (the frames), then you can just set a range, , if they aren't in order, you can specify the order, with the Set By String action
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Fri Dec 11, 2009 9:15 pm

Hey lucid, check your PMs (I need help :P)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

PreviousNext

Return to Work-in-progress addons

Who is online

Users browsing this forum: No registered users and 0 guests