This a library that makes handling maptext with outlines a lot easier.
If you have any problems or suggestions feel free to contact me via pager or this hub.
ID:1246380
Apr 24 2013, 10:00 pm
|
|
If you make the outline bigger it can make there be gaps with only 4 and . or ! the . part only gets a partial outline with 4. Also I will add the lry variable to docs.
|
I guess that makes some sense. I just don't like creating more objects than necessary.
|
I thought I would only need 4 to begin with then discovered the . and ! problem and had to change it.
|
Perhaps you could compile a list of problem characters and do a findtext() to see if they are in the string. No need to create new objects if you don't need to.
|
the objects are only created once so that would be a hassle, and probably worse, I'm just gonna leave it as is and if there are any performance issues that I have yet to encounter I will change it.
|
The thing is your library isn't going to show performance issues until it is used in a game that already has tons of objects. There is a limit to how many can exist at runtime (Although very high). If they are pushing over half that limit and add maptext to 1/8th of the atoms, they are screwed.
It's really just me coming from a minimalist point of view. |
Also, I don't believe you need to make that many maptext objects for an outline. 4 (1 to the left, 1 to the right, 1 up and 1 down) should do just the same. Unless you ran into a situation where it didn't work right?