1
Programming / Re: well well well - three holes in the ground. How to combine tile graphics?
« on: August 05, 2015, 12:21:12 AM »
Good discussion.
Ill have to think harder about marching squares. I tried a method of dividing the tile into quadrants and considering each of the neighbours to those quadrants and then programmatically assembling each tile from different quadrants. But I started to go insane, so I stopped short. But maybe Marching Squares is what I may have been reaching for?
My artist simply proposed that I make a dozen or so pre-fab areas of various sizes and shapes and he would make beautiful unique images for each one that I could simply slap down in the right random locations. Along with randomly sprinkled single holes. This idea also has its appeal. If I have enough pre-fab shapes, it will be random enough to provide the tactical variety I require, and also some visual variety as each image will be unique.
Ill have to think harder about marching squares. I tried a method of dividing the tile into quadrants and considering each of the neighbours to those quadrants and then programmatically assembling each tile from different quadrants. But I started to go insane, so I stopped short. But maybe Marching Squares is what I may have been reaching for?
My artist simply proposed that I make a dozen or so pre-fab areas of various sizes and shapes and he would make beautiful unique images for each one that I could simply slap down in the right random locations. Along with randomly sprinkled single holes. This idea also has its appeal. If I have enough pre-fab shapes, it will be random enough to provide the tactical variety I require, and also some visual variety as each image will be unique.