1
Fork 0
mirror of https://github.com/Steffo99/flyingsnake.git synced 2024-10-16 14:37:34 +00:00

Update README.md

This commit is contained in:
Steffo 2019-08-28 17:53:45 +02:00 committed by GitHub
parent 0d3fe90922
commit 9d0b231f08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ The walls layer contains the colors of the walls present in the world.
It can be selected exclusively with the `--walls` flag, or turned off with the `--no-walls` flag. It can be selected exclusively with the `--walls` flag, or turned off with the `--no-walls` flag.
If the walls are painted, they will be colored with the paint color. If the walls are painted, they will be colored with the paint color.
You can turn off paint colors with the `--no-paints` flag. You can turn off paint colors with the `--no-paints` option.
![flyingsnake Small_Example.wld Output.png --walls](https://i.imgur.com/Grkq5PQ.png) ![flyingsnake Small_Example.wld Output.png --walls](https://i.imgur.com/Grkq5PQ.png)
@ -81,7 +81,7 @@ The blocks layer contains the colors of the blocks present in the world.
It can be selected exclusively with the `--blocks` flag, or turned off with the `--no-blocks` flag. It can be selected exclusively with the `--blocks` flag, or turned off with the `--no-blocks` flag.
If the blocks are painted, they will be colored with the paint color. If the blocks are painted, they will be colored with the paint color.
You can turn off paint colors with the `--no-paints` flag. You can turn off paint colors with the `--no-paints` option.
![flyingsnake Small_Example.wld Output.png --blocks](https://i.imgur.com/E05kgOA.png) ![flyingsnake Small_Example.wld Output.png --blocks](https://i.imgur.com/E05kgOA.png)
@ -95,20 +95,20 @@ It can be selected exclusively with the `--wires` flag, or turned off with the `
### Custom colors ### Custom colors
Different colors can be specified by passing the `--colors file.json` option to the command. By default, `flyingsnake` uses the colors defined in the [TEdit settings file](https://github.com/TEdit/Terraria-Map-Editor/blob/master/TEditXna/settings.xml).
You can see an example color file [here](https://github.com/Steffo99/flyingsnake/tree/master/flyingsnake/example_colors.json); the colors are in RGBA format, and go from 0 to 255. However, you can use different colors by passing the `--colors colors.json` option to the command.
If no custom colors are passed, the script will use the default [TEdit](https://github.com/TEdit/Terraria-Map-Editor) colors (defined in settings.xml). You can see an example colors file [here](https://github.com/Steffo99/flyingsnake/tree/master/flyingsnake/example_colors.json); the colors are in RGBA format, and go from 0 to 255.
## License ## License
`flyingsnake` is licensed under the [AGPL 3.0](/LICENSE.txt). `flyingsnake` is licensed under the [AGPL 3.0](/LICENSE.txt).
That means you have to publish under the same license the source code of any program you create that uses `flyingsnake`. Basically, you're allowed to do whatever you want with this program, but you have to publish all modified code, and it has to be published under the same license.
## See also ## See also
If you are interested in `flyingsnake`, you might be interested in these other programs too: If you are interested in `flyingsnake`, you might be interested in these other programs too:
- [lihzahrd](https://github.com/Steffo99/lihzahrd), the package used to make this generator - [lihzahrd](https://github.com/Steffo99/lihzahrd), the package used to make this generator
- [TEdit](https://github.com/TEdit/Terraria-Map-Editor), the Terraria map editor from which this package gets the default colors - [TEdit](https://github.com/TEdit/Terraria-Map-Editor), the Terraria map editor from which this package gets its default colors