Hi, i'm currently making a game which involves the use of Richard Jones' tmx.py to load my tilemaps that i made in Tiled. i used the code 14-tilemap.py from his pygame tutorial https://bitbucket.org/r1chardj0n3s/pyga ... at=default
with my own tile/tileset and map, named 'tiles' and 'map' respectively.
Whenever i run the program (using Stani's python editor), i always get " KeyError: 'triggers' " and refers to line 384 in tmx.py. i understand that 'triggers' is the name of an object layer in the map.tmx file but when i run 14-tilemap.py with the files provided in the link above it runs without a problem. Im fairly new to pygame and i don't know how to tackle this, Is there anyway i can load/blit my map onto a pygame window without any errors?
P.S i also noticed that 14-tilemap.py wont run without 'tiles.tsx' and 'triggers.tsx', does this link to this problem in any way?