Code Monkey home page Code Monkey logo

Comments (12)

Genbox avatar Genbox commented on September 2, 2024

Yes. I want to target .NET Standard 2.0 and release a nuget package, but everything halted to a standstill because MonoGames have not moved to .NET Core yet. I'm also working on other projects right now, so the code in this repo is not quite there yet.

from velcrophysics.

SuperJMN avatar SuperJMN commented on September 2, 2024

@Genbox thanks for you quick response! I would like to take a look to the PR I've sent (#59). I could help with the NuGet packages if you wish.

Best regards!

from velcrophysics.

Genbox avatar Genbox commented on September 2, 2024

Thanks! I'll check it out.

from velcrophysics.

SuperJMN avatar SuperJMN commented on September 2, 2024

MonoGame is already .NET Standard! Will we get Nuget packages anytime soon? 😊

from velcrophysics.

ambs avatar ambs commented on September 2, 2024

Looking forward to a NuGet package. It would allow me to use this library with my students more easily.

from velcrophysics.

Genbox avatar Genbox commented on September 2, 2024

There are still a lot of things not working right within the engine, so consider it alpha state for now. Nuget package is coming asap.

from velcrophysics.

ambs avatar ambs commented on September 2, 2024

@Genbox Of course. But at least is looks like it is maintained. Chipmunk was my other choice and... forget it :-)

from velcrophysics.

Genbox avatar Genbox commented on September 2, 2024

Packages are up:

Let me know if they work as intended.

@SuperJMN could you unlist your packages on Nuget? Don't want a lot of support questions about which packages to use :)

from velcrophysics.

ambs avatar ambs commented on September 2, 2024

When I try to use it directly on a Monogame project, bootstrapped using the dontnet mgdekstopgl template, I get:

error: Unable to find a stable package Genbox.VelcroPhysics.MonoGame with version (>= 0.0.0)
error:   - Found 1 version(s) in nuget.org [ Nearest version: 0.1.0-alpha ]
error: Package 'Genbox.VelcroPhysics.MonoGame' is incompatible with 'all' frameworks in project '/home/ambs/tmp/CM/CM.csproj'.

My .csproj here: https://gist.github.com/ambs/cda443d905f8527494fd84423d126dab

Thanks

from velcrophysics.

Genbox avatar Genbox commented on September 2, 2024

It is an alpha package, so you have to enable support for those. I've found the easiest way is to just add the PackageReference manually to the csproj file:

<PackageReference Include="Genbox.VelcroPhysics.MonoGame" Version="0.1.0-alpha" />

The csproj file should look like this:

  <ItemGroup>
    <PackageReference Include="MonoGame.Framework.DesktopGL" Version="3.8.0.1641" />
    <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.0.1641" />
    <PackageReference Include="Genbox.VelcroPhysics.MonoGame" Version="0.1.0-alpha" />
  </ItemGroup>

Or you can use the Nuget Package Manager, but remember to put a check in the "Include prerelease" checkbox.

image

from velcrophysics.

ambs avatar ambs commented on September 2, 2024

This worked:
dotnet add package Genbox.VelcroPhysics -v 0.1.0-alpha

now I need time to read the tutorial :)

from velcrophysics.

Genbox avatar Genbox commented on September 2, 2024

Sounds good. Closing this issue.

from velcrophysics.

Related Issues (20)

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.