MonoGame.Extended | Extensions to make MonoGame | Game Engine library
kandi X-RAY | MonoGame.Extended Summary
kandi X-RAY | MonoGame.Extended Summary
MonoGame.Extended is a set of utilities (in the form of libraries/tools) to MonoGame that makes it easier to make games. Choose what you want, the rest stays out of your way. It makes MonoGame more awesome.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MonoGame.Extended
MonoGame.Extended Key Features
MonoGame.Extended Examples and Code Snippets
Community Discussions
Trending Discussions on MonoGame.Extended
QUESTION
I use Tiled to edit my maps, and I would like to set-up a collision system with my game.
I tried to set properties on some tiles of the tilesets I use, but the problem is that I can't access them from MonoGame.Extended, actually the library doesn't seem to be designed for this purpose, and I don't understand why.
i.e. when I look in the TiledMapTile
class there is no property at all, certainly there are TiledMapTilesetTile
objects from the TiledMapTileset
class that contains properties, but how can I get this object from a position? What I want is something like this:
ANSWER
Answered 2020-Jun-11 at 14:51You can always export the tile map you use to JSON if you like. See JSON-map-format.
Tiled can export maps as JSON files. To do so, simply select “File > Export As” and select the JSON file type. You can export json from the command line with the --export-map option.
Load your JSON in monogame and access the properties from there.
You can get the tile that the player is on using the ff:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MonoGame.Extended
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page