Hey! Some graphics! How exciting. Randomly tiled bricks in a 10 by 10 space. Okay, so this is a small step, but you have to take small steps before moving onto bigger items. I then made the space as wide as the screen, and worked up a chunk of code to handle auto-tiling. It's job is to detect the edges of a texture group and change the graphic to create a smooth transition. The above picture looks very tiled, with a definite grid. To try to cut down on the grid seen, the auto-tiling smooths out the textures below and gives edges where needed, as soon below.
It's hard to see how much auto-tiling is actually occurring, as there are only four separate brick images needed in the above screen capture. The same tile arrangement is below, but I used a different texture. Below that is the image that my auto-tile uses, cutting it up into bits and rearranging them as needed.
Auto Tile Sheet |
No comments:
Post a Comment