The VG Resource

Full Version: Improved Icons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
This... Is really awesome.
(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
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:

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.
Pretty much what I was thinking of doing. It may take a bit of tweaking, but shouldn't be too hard.
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.
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.
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.
Kage
Kage
Kai
Kai
Kamandol Is Really Awesome And Deserves A TV Show
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
Kage
Kai
Kai
Kamandol Is Really Awesome And Deserves A TV Show
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
Kage
Kai
Kai
Kamandol Is Really Awesome And Deserves A TV Show
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]
I've updated the BBCode. Should work fine now, if not a little off in the textular area.
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.)
Now you just need some for the game icons. :I
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...
It is the pixelated verdana font...
(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.
Pages: 1 2 3 4 5