Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flying-sheep/5-tiling
:black_square_button: A project to investigate how to painlessly create bordered textures that tile.
https://github.com/flying-sheep/5-tiling
Last synced: about 1 month ago
JSON representation
:black_square_button: A project to investigate how to painlessly create bordered textures that tile.
- Host: GitHub
- URL: https://github.com/flying-sheep/5-tiling
- Owner: flying-sheep
- Created: 2011-06-06T21:45:58.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-19T19:03:37.000Z (about 13 years ago)
- Last Synced: 2023-03-12T00:42:17.171Z (almost 2 years ago)
- Language: Java
- Homepage:
- Size: 145 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
========
5-Tiling
========This project’s goal was to create a way of tiling sprites in a specific way, i.e. with an inside border, that runs along the border of the whole shape.
It aims at a compromise between ease of texture creation and ease of implementation, while maintaining a perfect result (which a two-texture solution might not have). Although I promised to myself not to create anything new in Java, I thought that Java might be the only choice to get this into the Minecraft mod I want it to be in. (I wouldn’t do this if I had promised to anyone different than myself. Maybe I’ll do this next, or else I’ll never leave behind the curse that Java is)
The basic idea is that chopping tiles in quarters will reduce the number of needed sprites from 40-something to 5. As previously mentioned, there is a two-sprite solution, but it doesn’t honor border widths bigger than 1px, and a two-sprite solution which needs additional information about border width and is very complicated to implement.