-
Notifications
You must be signed in to change notification settings - Fork 60
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
Can't get project to build using latest Master. #190
Comments
//custom extensions
public static Vector2 Floor(this Vector2 v) => new Vector2((float)Math.Floor(v.X), (float)Math.Floor(v.Y));
public static Vector2 Floor(this Vector2 v) => new Vector2((float)Math.Floor(v.X), (float)Math.Floor(v.Y));
//end custom extensions.
public static Point CeilingPoint(this Vector2 v) => v.Ceiling().ToPoint(); // Our Ceiling returns a Vector2 it's not void.
public static Point FloorPoint(this Vector2 v) => v.Floor().ToPoint(); // Our Floor returns a Vector2 it's not void. https://docs.monogame.net/api/Microsoft.Xna.Framework.Vector2.html
|
Oh there are multiple exes depending on what you need. We have some tools that are just console apps that do a job and exit mostly there for testing the library. |
Hi, thanks for the help, managed to get it sorted. I thought the game would be playable state with the engine, but I guess that's still a way off? |
Yeah we got busy with other stuff and we haven't made much progress. We were even thinking of switching from monogame. |
Having followed all of the instructions, I can't get the project to build.
Firstly, there are errors in PointEx.cs on lines 99 and 101, that Operator '.' cannot be applied to operand of type 'void', so can't build.
Secondly, everything in the project is a class library, so its not very clear what .exe I should be compiling. The instructions seem out of date as they say to update WindowsGameLocationProvider.cs, which no longer exists in the solution.
Can anyone help?
The text was updated successfully, but these errors were encountered: