I want to create a 2D level in TOP view... in which a bmap will give the color values of different positions like green means grass which will put grass sprites there, so my car can move over there, a blue area means water putting water sprites there and it should block my car to move over there, and so on.
1. How can I detect the colored area of the bmap to load my level?
I mean, I want to put grass,water, etc. sprites depending on the bmap pattern.
2. How can I detect the colored area of the bmap under my car and manage its moving?