Floating Trees! Solved!

One of the most bizarre bits of feedback I got was that trees in my game were 'floating' in the sky. I had no idea how this could happen. Then I ran my game under Python 2.6.6....

So there you go. If you would like more earthbound trees then use Python 3.2.2 :-P

(log in to comment)


Presumably due to integer division semantics?
Not sure yet - I was thinking Unicode - the trees are defined as strings. As P3 is unicode then that would explain P2 having the trees float in the top right corner as the values would be much lower (<100ish). Interesting bug.
'Floating Trees' - Theme for the next PyWeek :-)