zombiecalypse / Game-Design-Project

1 stars 0 forks source link

Loading Tileset #45

Open Blue-Robot opened 11 years ago

Blue-Robot commented 11 years ago

I tried to load level1.json as Level but it says E, [2013-01-28T01:41:21.760729 #4206] ERROR -- Levels::Tilemap(83345930): Couldn't load ../TileSet/floor32x32.png, out of [".", "/home/clood/Game/GamePrototype/images", "/home/clood/Game/GamePrototype/gfx", "/home/clood/Game/GamePrototype/media"] The problem is that my tilesets are saved under "...../media/TileSet". However I don't know how to change the autoload_dirs

Blue-Robot commented 11 years ago

I hacked it by just adding the corresponding dir just before it's needed. You may want to fix it in a proper way however.