Saturday, March 10, 2012

Remember small steps?


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
Now I am working on the camera, maybe some of the GUI, and then I'll add a player with collision collection and controls.

No comments:

Post a Comment