Code Monkey home page Code Monkey logo

Comments (4)

lithiumtoast avatar lithiumtoast commented on August 24, 2024

It's working fine for me on the latest commit. Are you on commit a1464a6d270094cc45da8e0733bd4a35fc2ca98f?

You also should be using the v3.9-alpha NuGet packages of MonoGame.Extended that are pulled from my feed to work with MonoGame 3.8. The commit already has that setup.

from monogame.extended-samples.

Dante3085 avatar Dante3085 commented on August 24, 2024

It's working fine for me on the latest commit. Are you on commit a1464a6?

The code I copied from MainGame.cs in the gui sample is from that commit, yes. But I put it in my own visual studio project.
I haven't understood yet how the Nuget thing works you recently added in to MonoGame.Extended readme. I need to take a closer look at that. So far I have just been using the NuGet Manager inside VS 2019.

from monogame.extended-samples.

lithiumtoast avatar lithiumtoast commented on August 24, 2024

Take a look at the Nuget.config file: https://github.com/craftworkgames/MonoGame.Extended-samples/blob/master/src/NuGet.config#L1.

The configuration file says that NuGet packages should be downloaded to a specific folder and the private feed is available.
From there, you can look at any .mgcb file: https://github.com/craftworkgames/MonoGame.Extended-samples/blob/master/src/Demos/Gui/Content/Content.mgcb#L13

There you can see that it's referencing the .dll from the earlier specified folder for NuGet packages.

The NuGet packages are downloaded then when you restore any of the .csproj: https://github.com/craftworkgames/MonoGame.Extended-samples/blob/master/src/Demos/Gui/Gui.csproj#L24

This all necessary because the MonoGame content pipeline tool doesn't understand NuGet.

from monogame.extended-samples.

Dante3085 avatar Dante3085 commented on August 24, 2024

I switched everything from MonoGame.Extended to v3.9-alpha which didn't fix the problem. Turns out every error I had was the result of me not adding "Sensation_0.png" to the Content.mgcb. I didn't get that and tinkered with the filename of Sensation.fnt and it's contents. Silly mistake, I apologize.

from monogame.extended-samples.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.