first attempt implementing TiledSprite, need fix