Some tiles from Tiled Map Editor Version 1.11.2 not rendering

I created a map and a set of blue ice-style tiles (using aseprite). Followed this tutorial: https://youtu.be/uaIQau4woSM?si=JPwGicccLRTc_dQz Then duplicated the tiles and created a set of green templates In Tiled, when AutoMaping the new tiles, everything seems to work fine. I can see new tiles rendering to the appropriate layer but when I load the updated map, the new green tiles don’t appear. Screen shots illustrate the problem. The below code should be the relevant part. Help would be much apprecated. def setup(self): tmx_map = load_pygame(join(‘data’, ‘maps’, ‘tall01.tmx’)) # ‘world.tmx’ tile_w = tmx_map.tilewidth tile_h = tmx_map.tileheight map_pixel_w = tmx_map.width * tile_w map_pixel_h = tmx_map.height * tile_h self.scale_x = WINDOW_WIDTH / map_pixel_w #* 2 self.scale_y = WINDOW_HEIGHT / map_pixel_h #* 2 self.scale = max(self.scale_x, self.scale_y) self.scaled_tile_size = int(tile_w * self.scale) # for clamping camera self.map_width = map_pixel_w * self.scale self.map_height = map_pixel_h * self.scale # updated self.AllSprites self.all_sprites = AllSprites(self.map_width, self.map_height) ** for x, y, image in tmx_map.get_layer_by_name(‘Layer’).tiles(): #‘terrain’ if image: scaled_image = pygame.transform.scale( image, (self.scaled_tile_size, self.scaled_tile_size) ) Sprite((x self.scaled_tile_size, y * self.scaled_tile_size), scaled_image, (self.all_sprites, self.collision_sprites))
for obj in tmx_map.get_layer_by_name(‘entities’): if obj.name == ‘Player’: self.player = Player((obj.x * self.scale, obj.y * self.scale), self.all_sprites, self.collision_sprites, self.arrow_sprites, self.spring_sprites, self.player_frames)

Your code example is very hard to read because there’s no whitespace and some of the code gets parsed as markup. Please enclose your code in triple backticks like this to mark and display it as code:
```py
your code here
```
(The py should also add Python syntax highlighting).

Some things to check:
Does your game/PyGame raise any errors/warnings?
Is the updated map the one being loaded, and not an old copy?
Is the tilesheet image with the green tiles available to the game?
If the green tiles are in a different tileset, make sure PyGame can render multiple tilesets per map or per tile layer. Some engines/libraries can’t.
If the green tiles are in a separate layer, make sure that layer doesn’t have any properties on it that PyGame (or whatever library you’re using to load the TMX) interprets as signals to ignore the layer.