[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Isometric Math



I see the responses, and will get to them tonight -- short on time.

I had an idea, though, on "picking": how about creating a hidden graphics layer where the top of each iso-tile is "shadowed" with a unique color representing its coords? (eg. tile (4,2) gets color (0,4,2).) Then when the user clicks on the landscape, you can just get_pixel to find the tile # that was clicked on!

Kris