Comments (4)
Thanks for mentioning! I'll add a note on this in the README
Actually, everything related to the map must be embedded for Tileson to be able to resolve it. External files referenced in a map are not parsed.
from tileson.
Are there any plans to add support for external tilesets?
from tileson.
@FinnG : I've been on the fence of supporting external Tilesets mostly because it will require dependencies to external files, and having things embedded make everything more convenient and faster to resolve. I see the argument if you were to use the same tileset on several maps (let's say 10), and the tileset contains a lot of information, but if you want small map-files, the latest version of Tileson supports LZMA compression (see release notes for 1.3.0 alpha), which can make maps ~30 times smaller, and doesn't take much more time to read.
There haven't really been many people requesting this feature, but if it honestly is something you really need/want, I'll consider adding it on the current roammap, but if not: I'd rather wait and see if there are other people requesting this. I don't like the idea of having to resolve everything by having to load a lot of external files. Tilesets are not the only thing that can be external, either, so if I were to support external Tilesets, where do I draw the line?
from tileson.
Thanks for the quick response.
I'm not desperate for this feature, it would be more of a nice to have.
from tileson.
Related Issues (20)
- Remove warnings HOT 1
- u8_string problems HOT 2
- Make sure Tileson has full C++20 support! HOT 3
- Tile properties are only loaded for first tileset HOT 2
- How to parse infinite maps? HOT 2
- Fix Catch2 error with GCC 11.2
- Add support for Tiled 1.8 HOT 1
- CMake Issue when building tests on Windows with MinGW/G++
- Tile layer data compression HOT 2
- Tileset::GetImage() returns a space before extension
- Multiple definition of `std::type_info::operator==(std::type_info const&) const` HOT 6
- Add support for Tiled 1.9
- [SUGGESTION] Add a conan package for library HOT 2
- Update README and documentation for v1.4.0
- Access violation when getting the drawing rect of a tile by id HOT 4
- 'tson::World': no appropriate default constructor available HOT 6
- Text object is missing several important fields. HOT 3
- Add an option to be able to read Tiled Projects and its maps through memory.
- Add an option to be able to read Tiled Worlds and its maps through memory.
- Make sure tson::Class objects with modified values are updated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tileson.