Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Difficult to understand issues with JSon in the Extended.GUI

$
0
0

@Syrinth wrote:

Hey, trying to make GUI dialog boxes in my game and having some difficulties. I'm using the .json files from the demo code.

1) Adding the adventue-gui-skin.json to my content pipeline causes a build error, saying Object Reference not found. Looking at the demo code I realized that the ski.json wasn't added in the content pipeline so I just put it in the directory and left it at that. It seems to work now but I would really like to know the cause of the problem.

2) Removed, found a typo in my version somehow.

3) Finally, no so much an error as a strange thing, like 70% of the demo projects are set to being Class Libraries, which means I can't call them as executable and see them in action. I can't even change them from Class Libraries as the action is greyed out, thoughts?

FWIW Here's the file I'm using https://github.com/craftworkgames/MonoGame.Extended/blob/develop/Source/Demos/Demo.Features/Content/adventure-gui-skin.json

I'm really grateful for these extensions, but I'm finding the lack of documentation on how to use anything to be extremely difficult.

I have no idea what anything in this json is intuitively or why it's placed where it is. I have no idea what NinePatches is.

Really hoping someone can explain some things to me.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles