2D Art
[LPC] Updated spritesheet generator
Tuesday, July 24, 2018 - 15:12
For my upcoming release I have been working a lot with the LPC content. I started off using the LPC-Spritesheet generator created by Gaurav0, however, a lot of cool stuff has been added since the last commit in this repo, and as I needed some flexibility and speed I forked it and updated it my self.
It offers all expansions made on LPC that I know about (some still missing as described in the readme). I hope it can be of any help for you as well.
You can use the generator here:
https://sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Gene...
And check the sources here:
https://github.com/sanderfrenken/Universal-LPC-Spritesheet-Character-Gen...
I was wondering if anyone knows of a way to make this with HTML and css only. I was hoping to use this on my laptop without installing a local server and such. It seems like it needs this right now to save/export the resulting sheet correctly. Perhaps I am going about this wrong?
I have also been trying to increase the spritebox size, to make a giant type creature also. This went okay and it is 200 x 200 px.
I have found details on previewing the spritesheet using css only, but am not sure how the option selecting system could work.
I am not really sure if I understand the problem, but you dont need to run a server. When you clone the repo, you can open the index.html in your browser. The generator only uses js in addition to html/css, which can run locally in your browser. Let me know if that helps you.
Using just html and css, well propably it is possible, but I guess it would be much more cumbersome than using js.
How does this work?
When I open index.html, I see various buttons and options, but none of them actually do anything. I have JavaScript enabled, I've tried on multiple browsers, I've downloaded the source, I've tried Gaurav's version, all with the same result. I've not found any other instructions or list of requirements anywhere.
What am I doing wrong?
You can use the hosted version here: https://sanderfrenken.github.io/Universal-LPC-Spritesheet-Character-Gene...
If you want to make changes etc, you should clone the repo and open the index.html. Does that help you?
Thanks for your help.
My problem is that whether I try a hosted version (whether Sanderfrenken or Gaurav), or download and open index.html, I see various buttons "Save Result as PNG," etc, and menus "Sex," "Body," etc. However, none of the buttons or menus do anything when clicked (except that the "Choose File" button opens up a dialog but loading a file has no effect, and the various "wound" checkboxes check and uncheck but otherwise have no effect), and I see no sprites at all. Have I missed something? Using Windows 10 and Chrome.
@NoOne00000 Do you have JavaScript enabled?
HTML5 Canvas Old School RPG
Can you try another browser, maybe from another device? Just to confirm that it is propably a combination of your OS and browser.
Pages