-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compatibility with FNA #106
Add compatibility with FNA #106
Conversation
…ureAtlas.cs changed to use the Rectangle constructor with four parameters.
…st surprising way of adding Monogame.Aseprite to a FNA project
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the sections addressed in the review
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<!-- Project level package properties --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since FNA isn't distributed via NuGet and this csproj wouldn't be included in the package building done by the cake script, this entire PropertyGroup can be removed.
</PropertyGroup> | ||
|
||
<!-- Includes for NuGets --> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, this Item group can be removed since this csproj wouldn't be packed for NuGet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed the stuff in the next commit
… to NuGet package stuff
Thansk @nobledemon |
This reverts commit cd33df6.
Prerequisites
Description
I did a single line change on TextureAtlas.cs. This is due to the fact that FNA doesn't support as many Rectangle constructors as Monogame does.
I also consulted very briefly on the FNA discord with some people to check what would be the least surprising way to provide support for FNA. As a result, I am proposing the addition of a new project file that expects the library folder to stay next to the FNA and AsepriteDotNet dependencies.
I also manually tested the examples in the regular monogame solution, to check that nothing was broken with this change.