Programming Smogon Sprite Generator

#1
itt sandshrewz creates not very important but useful stuff

For many HTMLers, it is annoying when the article do not use Smogon sprites and they'll have to dig them up from going to the analyses etc and c/p the image url to use. Article writers themselves have to do the same thing to obtain the sprites. So I went to make a small script that lets you pick the sprites, including from different generations. It also provides you the full URL, the HTML of the image (with the shortened URL so it doesn't have the 'http://www.smogon.com' thing), and also in BBCode. I haven't tried to figure out how to use Flash to make the thing auto c/p when you click the text, but it will automatically highlight the text when you click on it for faster c/p. It's written in JavaScript so make sure you have it on! Who turns it off anyway >_>

LINK

The arrangement of the Pokemon under the option form follows the order in this thread. Just type in the Pokemon name and you can find it :) Anyway I intend to expand this to include sprites from Pokemon Showdown in future as well~ But that's all for now! :) It's not a major project but I hope it'll save time for HTMLers and writers alike! Let me know if you find any bugs or anything wrong with it. Suggestions are welcome too! Thanks! :)

Credits
sirndpt and Ray Jay for compiling all the Smogon sprites in order here :D

[Updates]

It now works fully with XY Sprites hosted on Smogon :D
 
Last edited:

NixHex

Doing just fine, here at the top of the world
is a Site Staff Alumnusis a Forum Moderator Alumnusis a Researcher Alumnusis a Contributor Alumnusis a Battle Server Moderator Alumnus
#5
You may want to output the [pimg] bbcode too since no one wants to memorize Pokemon numbers ;)

Awesome contribution as usual shrewz.
 

Furai

we will become who we are meant to be
is a Site Staff Alumnusis a Team Rater Alumnusis a Forum Moderator Alumnusis a Community Contributor Alumnusis a Contributor Alumnusis a Smogon Media Contributor Alumnusis a Past SPL Champion
#11
could you add a reverse search btw? as in you put in the smog # and it gives you the pkmn :)
 
#13
Lmao. Layell do you want me to update now or when everything is completed? With names for sprites that won't be too hard to update I think.

Edit: actually I think I'll update the script and put it on SCMS so it'll automatically update update without me having to edit it every time.
 
Last edited:
#16
You can now swap between fron and back sprites. If the current Pokemon you're viewing has the front / back sprite, it'll automatically go to the respective sprite. For example, if you're viewing Absol-Mega front and you changed it to back, it'll go to Absol-Mega back.

ALSO. The cool thing that isn't noticeable is that once you load either the front or back sprites, it doesn't need to reload the data / sprites from smogon until you refresh / close the page. It makes stuff faster when you swap around between front / back sprites :D

more to come in future. Animated and Shiny is still unimplemented for now.
 
Likes: Mq
#18
Quadruple post ?_?

Implemented Shiny option. Note that there are currently no Animated AND Shiny sprites so far. Hence, if you check both Animated and Shiny, it'll just ignore the Shiny one and give you the Animated one, for now at least till shiny animated are on-site. Also tidied up about and it looks nicer now.

It's done now :D till when shiny animated mons come in haha. Have fun! :)
 
Likes: Mq

Layell

Alas poor Yorick!
is a Smogon Social Media Contributor Alumnusis an Artist Alumnusis a Forum Moderator Alumnusis a Community Contributor Alumnusis a Researcher Alumnusis a Smogon Media Contributor Alumnusis a Battle Server Moderator Alumnus
#19
In stopping sandz from this awful consecutive posting here are the latest changes.

-Animated shiny is now an option, click both animated and shiny. More will be added in time, right now there is a grand total of two mons

-A credit page to the XY sprite thread is part of the page
 
#20
In stopping sandz from this awful consecutive posting here are the latest changes.

-Animated shiny is now an option, click both animated and shiny. More will be added in time, right now there is a grand total of two mons

-A credit page to the XY sprite thread is part of the page
/me smack Layell x)

Also ya the credit thing is Layell's idea~
 
Likes: Mq