The Image Converter

I have continued working on the idea of creating an image that can determine the grid heights and the color of the vertecies. In order to facilitate the process I have programmed a quick algorithm that gets any image I create using flash and translate it into a grid. The idea is to do something like this:




Here is a video of how I easy it is to use the program...



After seeing the program working, I realized that there are several things I want to be able to store on this arrays:
1)Heights
2) Colors
3)Collide-able sectors
4) objects that can be around the track....



In the image above you can see that there are several R's and B's, this could be for example a boost and a hole, so by using the same letter(color) around the track, I can tell the game to place a particular object at that coordinate.

No comments:

Post a Comment