Hello all!
Im trying to develop a turn based game using swing. The game will use tiles for the board, so the problem i am currently facing is how to create the terrain. As for now. i have a pcx file with all the terrain tiles i would like to use. but i dont know how to read and extract parts of it. the pcx file is a grid with all the images (when i open it with photoshop)
The problem is a 3 part problem:
- read the pcx file
- extract the images to an array or something.
- paint the images.
i was looking around and find a nice little class in the midp 2.0 called TiledLayer which is exactly what i need.
can you guys help me to either be able to use that class or to solve the problem some other way?
thanks in advance.