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)