You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created my map in Tiled, and I have multiple layers - a ground layer, an invisible layer for boundaries, and another Tile layer with the items that are in my world.
I can iterate on the 'boundary' layout above - since it's not a visible layer and each space is either blank or filled with a barrier, it's working fine.
The problem arises when I try to display the objects in the world. I think I'm supposed to do this to get the images:
for x, y, image in layouts['objects'].tiles():
if(image != None):
Tile(x,y,[self.visible_sprites], 'objects', image)
None of my objects actually appear to == something besides None. I definitely have objects in the layer. Any ideas what I've missed?
The text was updated successfully, but these errors were encountered:
I created my map in Tiled, and I have multiple layers - a ground layer, an invisible layer for boundaries, and another Tile layer with the items that are in my world.
I've loaded the various layers into a dictionary:
I can iterate on the 'boundary' layout above - since it's not a visible layer and each space is either blank or filled with a barrier, it's working fine.
The problem arises when I try to display the objects in the world. I think I'm supposed to do this to get the images:
None of my objects actually appear to == something besides None. I definitely have objects in the layer. Any ideas what I've missed?
The text was updated successfully, but these errors were encountered: