example and fixes (TiledMap not working yet)