Survey Helped Me
The pyweek12 survey Results have helped me a lot today.. just realized i was using some deprecated methods and now i have to fix since a lot of people might end up with a non-working game :( this is the first time i ran into this problem(because im' using inkscape as level editor). But i hope it won't be too much of a hassle to fix this.elem.getchildren() is the deprecated method in 2.7 and above so use
list(elem) instead but this obviously doesn't work on 2.6 so .. we have to check for the version
if sys.version_info > (2,6):
return list(elem)
else:
return elem.getchildren()
please let me know if you find this to be wrong..