content/items/metals/iron.hjson, which would respectively create an item named iron.The filenames of these files is important, because the stem name of your path (filename without the extension) is used to reference it.įurthermore the files within theseb content//* directories may be arbitrarly nested into other sub-directories of any name, to help you organize them further, for example: Note that each one of these subdirectories needs a specific content type. The content of these files will tend to look something like this:Īll you need to make sprites, is an image editor that supports transparency (aka: not paint). Sprites can simply be dropped in the sprites/ subdirectory.īlock sprites should be 32 * size, so a 2x2 block would require a 64圆4 image. The content parser will look through it recursively, so you can organize them how ever you feel.Ĭontent is going to look for sprites relative to it's own name. content/blocks/my-hail.json has the name my-hail and similarly sprites/my-hail.png has the name my-hail, so it'll be used by this content.Ĭontent may look for multiple sprites. My-hail could be a turret, and it could look for the suffix -heat and what this means is it'll look for my-hail-heat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |