Make it easier to use the artworks in projects that composite the sprites on the fly #177
PunCrathod
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
|
Perhaps the zPos is what you're looking for? This file contains the positions of every asset. "z" position refers to the z-index or how to layer assets over one another. The lower the number, the further "back" it appears on the viewport. The "images" row of the CSV shows where the assets with that zPos are loaded from. So you can use this to find what files need to go where. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The work on this project is seriously awesome. I am working on a game(closed source) that uses the contents of the spritesheets folder and combines anything it needs on the fly. However getting the order of all the layers correct and writing lists of what is what is a pain. I did write a proof of concept that used the .json files in sheet_definitions folder to automatically sort the layers but I presume those .json files are under GPL 3.0 license(Which to my understanding would require any published software that uses them to also be GPL 3.0) and they are a little awkward to parse unless you have a library that can read json. And some of them do not really have names for things that could be used as is in a game.
Would it be possible to get a file/files that have name(Preferably one that could be used as is inside a game as an item in an inventory or as an option in a character creator etc),typename(That can be used to sort what equipment slot an item goes or what category it would be in a character creator etc), layers(zpos, custom animations and the paths) and variants information in a simple format for all the artwork. json as a format is actually fine if that is the easiest for whoever would be making the files. The main problems I have with just using the ones in sheet_definitions folder are the license and that not all the names/typenames are usable in game as is).
If the people working on this project are not making these files I probably will end up making them myself at some point after I have most of the other work on the game done. Should I end up making the files I will offer them to be included in this project. However I think the people familiar with everything that is in this project would probably have an easier time making and then maintaining them and they could make them more generic so they can be used in more games(Or libraries that can be included in games). If I make the files they would only contain the things my game would use and be in a format that is the easiest for me to use in my game so whoever then would take on the job of maintaining them as part of this project might have to make some significant modifications and additions so they could be used in other games as well.
And I know this is a little bit of a "Please do some of my work for me" kind of ask but I genuinely believe this along with a little tutorial on how to use would make it easier for people to make games using LPC artwork. Instead of making a spritesheet for each character one at a time they could composite them on the fly which would make it easy to generate random characters and implementing equipped items showing up on the sprites.
Beta Was this translation helpful? Give feedback.
All reactions