help me fix spritefont

New releases and general discussions.

Post » Wed Dec 30, 2009 11:06 pm

spritefont has been on the far backburner for a while. i have an annoying small amount of free time, but I understand spritefont is important for serious projects, and I don't want to neglect the userbase, just because I'm not currently using it myself. I will do my best to work on it at least a little at a time, and to also maintain the compatibility with current caps.

I need to make tutorials again for it, updated, and I also need to remove some half-implemented features, or complete their implementation. But most importantly, I've had people from time to time report to me in pm, that doing certain combinations of things cause letters not to appear. it's all very idiosyncratic, and confusing, and spritefont was written when I was just beginning to really understand c++, so the code is a mess. I've searched for the source of these problems, but so far I've come up empty. I really need to see all these problems side by side to find the connection.

One thing I can say, is purposefully spritefont does not save any information about anything except that which can be edited in the properties pane. this is because it relies mainly on having pointers to spritetypes, and sprites which will change each time the exe is loaded. So if your problem involves loading a saved game, or changing layouts, and not initializing the sprite types on loading again, see if that will fix the problem.

also, I have a hunch some of these issues will change (for better or for worse) if you use either multiple instances of the same spritefont, or an additional spritefont types (copy, paste clone)

in short, if you've ever sent me, or offered to send me caps where you were able to isolate problems, and make them stop happening through some weird nonsensical method, please repost them here, with the description. I will hunt through the old PMs also, and see if those links are still working as well. if you can't post your cap publicly, please pm me a link. Don't be discouraged if I don't respond immediately. I will be looking into all of this, and trying to find the common thread. It definitely seems like all the current bugs, are really just one big bug buried in there somewhere.

so, if you have the time, and you've had issues with spritefont. please help me fix it, and bring it into the 1.0.

also, I'm interested in getting a small group (after some brave soul lays the groundwork) to write a cap using the image manipulator, to create a tool to more easily cut up sprite sheets. there are a few requirements that have been requested in the past that should be included if someone is going to take the time to make this. but honestly it's much needed, and I really don't have the time right now to make it. interested parties, please post here. if it's an open cap file, with a main person, we can assign the smaller duties to other people as it goes along to make this happen quickly and smoothly

for anyone who wants to have at it. The main requested features that I can name off the top of my head are:

take a sheet of fonts and split it into multiple named or numbered files

a more visual interactive way of seeing a simple grid split of the sprite sheet, twisting knobs, or dragging lines to get the grid alignment just right

the ability to easily drag this grid out of alignment in selected spots, or quickly drag and drop squares around letters that don't fall perfectly evenly spaced. it should be simple enough to be convenient in a spritesheet that has no evenly spaced letters at all

also, the ability to automatically cut the sheet up into uneven pieces based on a colored separator (say a pink line). I can't remember the name of the software, but there is a large library of spritefont sheets made with colored separators, so this would be a very useful feature, once someone reminds me of what the name of that app is.



thanks everyone for using spritefont, and reporting those bugs
I think there's only one or two bugs before it's fully stable, and ready for primetime
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486

Post » Thu Dec 31, 2009 12:42 am

I have a good idea for the font splitting app that might be able to take an image and do it all automatically. I'll give it a shot then post back here when I've got something.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Thu Dec 31, 2009 12:45 am

I had a look at using Image Manipulator to set up a splitter, but it seems images are limited by my card to 4096x 150. That means the individual frames would be limited to about 43x43 pixels. I'm tempted to say it should be set to 32x32 for power of 2's sake. Lot less than I was hoping. :(
I'll do a bit more experimenting, but Image manipulator is cantankerous, and its doing some confusing things to image dimensions.
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Thu Dec 31, 2009 2:08 am

[quote="lucid":2lzxf1s4]i have an annoying small amount of free time ... I need to make tutorials again for it ... remove some half-implemented features, or complete their implementation ... very idiosyncratic, and confusing ... written when I was just beginning to really understand c++, so the code is a mess ... issues will change ... please help me fix it, and bring it into the 1.0. ... thanks everyone for ... reporting those bugs ...I think there's only one or two bugs before it's fully stable[/quote:2lzxf1s4]
And we have a synopsis of the Construct project. :P
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Dec 31, 2009 2:45 am

So lucid, that pm you just sent me... does that mean you do or you don't want me to repost it here in the thread? I am confuse.

[quote="Ashley":22cpqmfp][quote="lucid":22cpqmfp]i have an annoying small amount of free time ... I need to make tutorials again for it ... remove some half-implemented features, or complete their implementation ... very idiosyncratic, and confusing ... written when I was just beginning to really understand c++, so the code is a mess ... issues will change ... please help me fix it, and bring it into the 1.0. ... thanks everyone for ... reporting those bugs ...I think there's only one or two bugs before it's fully stable[/quote:22cpqmfp]
And we have a synopsis of the Construct project. :P[/quote:22cpqmfp]

Holy lol :lol:
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Dec 31, 2009 6:58 pm

weeee independent free software!
I think I've said that too a few times myself
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Thu Dec 31, 2009 7:16 pm

Automatic font splitter made.

viewtopic.php?f=4&t=5391
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri Jan 01, 2010 1:14 pm

[quote="deadeye":3jue7pu5]So lucid, that pm you just sent me... does that mean you do or you don't want me to repost it here in the thread? I am confuse.[/quote:3jue7pu5]
sorry
no, you don't need to repost it, there were some older pms with broken links
[quote:3jue7pu5]
[quote="Ashley":3jue7pu5][quote="lucid":3jue7pu5]i have an annoying small amount of free time ... I need to make tutorials again for it ... remove some half-implemented features, or complete their implementation ... very idiosyncratic, and confusing ... written when I was just beginning to really understand c++, so the code is a mess ... issues will change ... please help me fix it, and bring it into the 1.0. ... thanks everyone for ... reporting those bugs ...I think there's only one or two bugs before it's fully stable[/quote:3jue7pu5]
And we have a synopsis of the Construct project. :P[/quote:3jue7pu5]

Holy lol :lol:[/quote:3jue7pu5]
and yes
lol
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest