FreshRSS

Normální zobrazení

Jsou dostupné nové články, klikněte pro obnovení stránky.
PředevčíremHlavní kanál

Building TMX in the MonoGame Pipeline using MonoGame Extended

I updated MonoGame to the latest development build and noticed the Tiled Map Importer and Processor wasn't in the content pipeline anymore (even after adding both MonoGame Extended Content DLL and MonoGame Extended Tiled Content DLL).

Am I supposed to build TMX maps into .xnb files using the MonoGame XML Importer and No Processing or am I doing something wrong?

  • ✇Recent Questions - Game Development Stack Exchange
  • I got some wierd bug while building TMX files in MonogameCode Watermelon
    Today I tried to implement tilemaps to my game that I'm developing on Monogame. Those tilemaps were created by using Tiled map editor. For implementing my tilemaps I used Monogame Extended. I installed Monogame.Extended.Content.Pipline of version 3.8.0 (latest). So after those stuff I added my tilemaps (TMX) and tilesets (TSX) to my Content Pipline Project but after building I got some wierd errors. With tilemap Processor 'TiledMapProcessor' had unexpected failure! System.MissingMethodException
     

I got some wierd bug while building TMX files in Monogame

Today I tried to implement tilemaps to my game that I'm developing on Monogame. Those tilemaps were created by using Tiled map editor.

For implementing my tilemaps I used Monogame Extended. I installed Monogame.Extended.Content.Pipline of version 3.8.0 (latest).

So after those stuff I added my tilemaps (TMX) and tilesets (TSX) to my Content Pipline Project but after building I got some wierd errors.

With tilemap

Processor 'TiledMapProcessor' had unexpected failure!

System.MissingMethodException: Method not found: 'Microsoft.Xna.Framework.Color Microsoft.Xna.Framework.Color.get_TransparentBlack()'.
  at MonoGame.Extended.Tiled.Serialization.TiledMapImageContent.get_TransparentColor()
  at MonoGame.Extended.Content.Pipeline.TiledMapProcessor.Process(TiledMapContentItem contentItem, ContentProcessorContext context)
  at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2.Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process(Object input, ContentProcessorContext context) in /home/runner/work/MonoGame/MonoGame/MonoGame.Framework.Content.Pipeline/ContentProcessor.cs:line 60
  at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent(PipelineBuildEvent pipelineEvent) in /home/runner/work/MonoGame/MonoGame/MonoGame.Framework.Content.Pipeline/Builder/PipelineManager.cs:line 717

Also with tilesets

Processor 'TiledMapTilesetProcessor' had unexpected failure!

System.MissingMethodException: Method not found: 'Microsoft.Xna.Framework.Color Microsoft.Xna.Framework.Color.get_TransparentBlack()'.
  at MonoGame.Extended.Content.Pipeline.TiledMapTilesetProcessor.Process(TiledMapTilesetContentItem contentItem, ContentProcessorContext context)
  at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2.Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process(Object input, ContentProcessorContext context) in /home/runner/work/MonoGame/MonoGame/MonoGame.Framework.Content.Pipeline/ContentProcessor.cs:line 60
  at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent(PipelineBuildEvent pipelineEvent) in /home/runner/work/MonoGame/MonoGame/MonoGame.Framework.Content.Pipeline/Builder/PipelineManager.cs:line 717

I tried to search this bug on Internet and even using ChatGPT but nothing gave me result.

I would be greatful for any help!

❌
❌