Tempel
Active Member
I didn't edit the level files since they don't include any transparency (except level 3, which has a transparent row along the top for some reason; still, I didn't change it). I did realize that, in the level files, water is represented by magic pink (255, 0, 255), which is the colour used for colourkeying in other images. I could imagine this causing problems, except that it doesn't cause problems on my computer, and water seems to appear just fine on Pandoras. The Surface.get_at method, used to parse level files, probably returns the colour of the surface, even if that colour is specified as the colourkey.
Speaking of Surface.get_at, I noticed that it was changed as of Pygame 1.9.0. At home, I'm running Python 2.7 and Pygame 1.9.1; I believe the Pandora is running Python 2.6, but I'm not sure what version of Pygame. I see that version 1.9.1 is in the Pandora openembedded source tree, but I don't know if that's made it into the current firmware, or is waiting for a future hotfix. Could someone please run "sudo opkg list_installed python-pygame" in a terminal and tell me what version it's at? That could relate to the source of the problems. Out of curiosity, on what version did you develop this, pymike?
Speaking of Surface.get_at, I noticed that it was changed as of Pygame 1.9.0. At home, I'm running Python 2.7 and Pygame 1.9.1; I believe the Pandora is running Python 2.6, but I'm not sure what version of Pygame. I see that version 1.9.1 is in the Pandora openembedded source tree, but I don't know if that's made it into the current firmware, or is waiting for a future hotfix. Could someone please run "sudo opkg list_installed python-pygame" in a terminal and tell me what version it's at? That could relate to the source of the problems. Out of curiosity, on what version did you develop this, pymike?