01-18-2014, 03:51 AM
01-18-2014, 07:58 AM
(01-17-2014, 11:08 PM)Drshnaps Wrote: [ -> ]Unfortunately there are limitations to how much memory the script can process at a time (and I don't seem to have the ability to alter my .htaccess), so spritesheets with extremely large dimensions may return an error. If someone wanted to make a console version of this it would probably eliminate that issue, but for the majority of sheets that shouldn't be a problem.
It wouldn't quite be making a console version but if you want, I could try hosting this script on my home server for a while. I have full control over the entire computer so I could easily bump up the PHP memory limit and runtime limit to ridiculous numbers if desired :V
01-19-2014, 04:23 PM
That's fine by me. Here's an improved version of the script:
http://www.jermungandr.net/experiments/t...nchop2.rar
The script automatically deletes any image files older than half an hour every time it is run, so you don't have to worry about the files it creates taking up a lot of space.
By the way, what are you guys doing about being able to post icons in the forum? Since they are no longer straight images you can't just use the forum image tags to display them. I was thinking maybe you could create a forum code that goes something like:
With alternates like "tmricon" and "ttricon" for the other colors.
http://www.jermungandr.net/experiments/t...nchop2.rar
The script automatically deletes any image files older than half an hour every time it is run, so you don't have to worry about the files it creates taking up a lot of space.
By the way, what are you guys doing about being able to post icons in the forum? Since they are no longer straight images you can't just use the forum image tags to display them. I was thinking maybe you could create a forum code that goes something like:
Code:
[tsricon img="URL_of_Icon_Overlay_Image" url="URL_of_Sheet"]Name of Sheet[/tsricon]
With alternates like "tmricon" and "ttricon" for the other colors.
01-19-2014, 05:09 PM
Pretty much what I was thinking of doing. It may take a bit of tweaking, but shouldn't be too hard.
01-19-2014, 05:26 PM
Maybe look for a plugin that would let us tie BBCode to a database call and then just do [tsr=1234] or something to that extent? Some research into securing it would definitely be necessary but this would be the most user friendly way to do it if we can do it safely.
01-19-2014, 05:58 PM
That would cause issues with off-site links, for things like submissions. I think that's the main concern; from the site itself that'd be great, but outside links wouldn't work with that method.
01-19-2014, 06:03 PM
Ah, hadn't thought about stuff that wasn't on the site. Yeah, I guess the Drshnaps posted would be the most logical way to handle it then.
01-20-2014, 05:09 AM
Kage
Kai
Kamandol Is Really Awesome And Deserves A TV Show
Code:
[tsricon img="http://www.spriters-resource.com/icon-test/3421.png" url="http://www.spriters-resource.com/icon-test/"]Kage[/tsricon]
[tsricon img="http://www.spriters-resource.com/icon-test/3423.png" url="http://www.spriters-resource.com/icon-test/"]Kai[/tsricon]
[tsricon img="http://www.spriters-resource.com/icon-test/3424.png" url="http://www.spriters-resource.com/icon-test/"]Kamandol Is Really Awesome And Deserves A TV Show[/tsricon]
Kage
Kai
Kamandol Is Really Awesome And Deserves A TV Show
Code:
[tmricon img="http://www.spriters-resource.com/icon-test/3421.png" url="http://www.spriters-resource.com/icon-test/"]Kage[/tmricon]
[tmricon img="http://www.spriters-resource.com/icon-test/3423.png" url="http://www.spriters-resource.com/icon-test/"]Kai[/tmricon]
[tmricon img="http://www.spriters-resource.com/icon-test/3424.png" url="http://www.spriters-resource.com/icon-test/"]Kamandol Is Really Awesome And Deserves A TV Show[/tmricon]
Kage
Kai
Kamandol Is Really Awesome And Deserves A TV Show
Code:
[ttricon img="http://www.spriters-resource.com/icon-test/3421.png" url="http://www.spriters-resource.com/icon-test/"]Kage[/ttricon]
[ttricon img="http://www.spriters-resource.com/icon-test/3423.png" url="http://www.spriters-resource.com/icon-test/"]Kai[/ttricon]
[ttricon img="http://www.spriters-resource.com/icon-test/3424.png" url="http://www.spriters-resource.com/icon-test/"]Kamandol Is Really Awesome And Deserves A TV Show[/ttricon]
01-21-2014, 01:52 PM
I've updated the BBCode. Should work fine now, if not a little off in the textular area.
01-21-2014, 02:44 PM
Definitely looks better, but the font still seems to be a bit too big.
(EDIT: The updated version looks a lot better now, not perfect but it's much better than it looked before.)
(EDIT: The updated version looks a lot better now, not perfect but it's much better than it looked before.)
01-21-2014, 09:36 PM
Now you just need some for the game icons. :I
01-22-2014, 03:31 AM
01-22-2014, 04:50 PM
Am I the only one who likes the old, plain, non-shadowed pixelated verdana font better...?
EDIT: Fixed my wording... although it looks right in Chrome so disregard this I guess...
EDIT: Fixed my wording... although it looks right in Chrome so disregard this I guess...
01-22-2014, 05:22 PM
It is the pixelated verdana font...
01-22-2014, 05:36 PM
(01-22-2014, 05:22 PM)Dazz Wrote: [ -> ]It is the pixelated verdana font...I think she means without the anti-aliasing. I think it looks fine the way it is right now, though.