SpirteSheet Generator
Hi all,
I wanted to share something with you all after I have been a long time user of this site without contributing anything myself. Please let me know if this is not the right place to post this as I appreciate this is not exactly art - I am more of a coder and have made a utility based on some of the art available in this site.
Im sure you have all seen the sprite sheet generators floating around on github which are great for creating your own sheets based on the existing art here, but I wanted to have random characters in my game where no two characters would be the same. So I rewrote one of these tools (https://github.com/sanderfrenken/Universal-LPC-Spritesheet-Character-Gen...) into a node application that I could call from my game. I have created a link here where you can generate random sprite sheets: https://electricbrainuk.github.io/Universal-LPC-Spritesheet-Character-Ge...
However I find it most useful when it is bundled into the game so as to create random characters on the fly. The code is available here: https://github.com/ElectricBrainUK/Universal-LPC-Spritesheet-Character-G... (This still needs some work - the save image button doesn't always work but you can just right click and save)
Please let me know if you would like to try this as I can help with that - I will also post some example code of how I did it in my game.
Thanks for taking the time to check it out and again sorry if this is not the right place.
Comments
Looks like a very quick and versatile tool.
It's not my field, so i can't test the alignment myself, but i noticed a thing that can create confusion: The sidebar is too narrow. Even if an array of accessories is named just... IDK Cape1; Cape2; Cape3, or CapeA; CapeB; CapeC... It might become a little confusing for the end user to evaluate the options by counting the position in the array by pointing their finger at the monitor while scrolling up.
Hey - thanks a lot for the feedback - that makes a lot of sense, I will post an update to the UI to make it a bit more user friendly over the weekend / holiday period
I love seeing more LPC stuff.
Would you be willing to upload a copy the Authors.txt here? I know that file is subject to change as you add and edit the resources used by the spritesheet generator, but the assets you've shared here are static, so that isn't an issue since the credits would be for these assets, not the generator itself. The main reason I ask is because assets that are here on OGA must have credit information here on OGA, so there should be a copy people can access without following a link to elsewhere.
Definitely I can upload the file, shall I add it as an attachment to the original post? (It seems I cant upload .txt files)
yes please.
Ive zipped it and uploaded it as I couldnt upload a .txt file
Perfect. thanks.
awesome tool. Thanks for taking the time to make this!
Thanks for sharing this! Always excited to see people experimenting with the LPC assets. I'd echo the comments from above and also suggest you need to find a way to (a) make the list more compact, and (b) keep the sprite in view when you scroll down, since the list is extremely long and it's annoying to have to keep scrolling back up.
You are also not complying with the attribution requirements of the assets used by the generator. The AUTHORS.txt file is not complete, and in my opinion it is not sufficiently detailed anyway---it would be difficult for a given sprite to read through it and figure out which artist is responsible for which piece, since it's not organized by filename/path. There is no mention of the license for any of the assets. Further, there are no links to the original source of any of the assets, which is required for all Creative Commons-licensed material. castelonia's repository moved the attribution information into the HTML file and allows you to see the attributions for (most) sprites you generate. Your repository should do something similar, or at the minimum include a file with the author, license, and link back to the original source for all art files.
Again, I'm happy to see people sharing and using this art, but it's become a bit frustrating to me that these tools keep being created and disseminated which do not provide proper attribution. It pretty much guarantees that others who happen upon the art through these tools will not know where the art came from. It's disrespectful to the efforts of the original authors.
I'm usually only concerned with assets on this site but I have to agree with bluecarrot16. I can't recommend any of these tools to people that could really benefit from them because I'm always waiting for the attribution to be fixed before I do.
I'm a bit embarrassed that I failed to notice the authors.txt here doesn't have all the information it should, either.
I like to see these random chars! Quite inspirational. I could develop such a thing in the current generator here as well (https://sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Gene...), that would allow for less repetition and worry about the licensing.
With respect to licensing, I can understand the frustration it causes for everyone that contributed to the spritesheet collection.
I just added an additional licensing note in the HTML of the generator I maintain, I hope that clarifies more the importance on these licenses.
In addition, the credits button and logic behind is maybe something you can reuse/ adapt as well for your random generator?
Hi all,
Thanks for your comments, and feedback it is appreciated.
I can only apologise that the authors.txt is incomplete I had not noticed myself and I really don't mean any disrespect to the original artists. I will as suggested add the credit logic to the main page so you can see the artists responsible for any particular combination, as it is in the main repository as well as uploading an updated and complete file here.
Again I'm sorry for any offence caused, not giving proper attribution in the first place was an oversight that I should not have made.
Thanks for doing that. Everyone is learning and experimenting here together---no offense taken. The AUTHORS.txt problem has been around since guarav0's original generator, so you're not alone making this mistake.
Thanks castelonia for adding the notice to your generator. Perhaps you could automatically run a version of the credits button as items are added, so a copy-pastable attribution statement is generated as the user goes? Or at the very least, maybe a statement like "This character is drawn by [several authors] and provided under a CC-BY-SA 3.0 license Click here for [full credits]." Perhaps you could link to your collection where all the LPC items can be browsed instead of the OGA main page?
Thanks bluecarrot16 - I have added a description to the tool that details what is needed from a user in terms of attribution. Now when you press the save button it also compiles a list of attributions and downloads that as well in a similar way to castelonia's solution (thank you so much as well castelonia for you help and guidance and for writing the original).
The problem is much of the art is still un credited - Im thinking of writing something that scans all the images in the repository and uses reverse image searching to match to pages on this site in order to get all the existing work credited to its original artist and fill in the blanks in the AUTHORS.txt.
I'm sure we can help identify the origin of any of the sprites you are missing information on. They are all in sprite sheet form, correct?
Yeah that's right, everything is in this folder:
https://github.com/ElectricBrainUK/Universal-LPC-Spritesheet-Character-G...
I was thinking of going through it and matching to uploads on opengameart, but if there is a better way that would be great.
No, not really a better way than that. That's the way I (and potentially others) would do it as well, but we may be more familiar with the sources, so the hope is we would be able to help identify them faster. Is everything in that folder uncredited? if not, can you identify which ones need identification?
No it's not - but most of it is. I plan to go through each .png and add a .credit file with the URL to its upload on here. Happy to do this myself but if anyone feels like helping that would be great. Either raise a pull request if git is your preference or add a comment or send me a message here with the image and credit I'm missing.
Thanks a lot
It's going to be a quite a bit of work, unfortunately. It's not just a few sprites---there are hundreds of items in that folder; many are recolors or edits of one another. Several submissions have multiple items in them, so it's not 1:1 between sprites in that folder and OGA submissions. I believe *almost* all the assets are in this collection https://opengameart.org/content/lpc-collection , but not 100% sure.
I've been considering starting a project to do exactly this (collect attribution information for all these sprite sheets, mapping to the original source), but just haven't had the time or energy to get around to it. Maybe over the holidays.
I will give it a go, I think I can do the bulk of it programatically and then the rest I will do manually - will post updates here
If you can figure out a semi-automated way of doing it, that would be great. Maybe post here or send me a direct message about items you can't source---I am pretty familiar with most of the assets and can probably help you track individual items down.