Replies: 2 comments
-
Did you use the nuget package or downloaded it from source (main) ? The readme is out of sync because I just merged some changes and I have to update it. The demo minimal project setup will be out of sync until I publish a new nuget version. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is the new version. public static class Program
{
public static void Main(string[] args)
{
var game = new MyGameClass(GameSettings.StretchMode, WindowSettings.Default);
game.Run();
}
}
public class MyGameClass : Game
{
public MyGameClass(GameSettings gameSettings, WindowSettings windowSettings) : base(gameSettings, windowSettings) { }
protected override void DrawGame(ScreenInfo game)
{
game.Area.Draw(new ColorRgba(Color.DarkOliveGreen));
game.Area.DrawLines(12f, new ColorRgba(Color.AntiqueWhite));
game.MousePos.Draw(24f, new ColorRgba(Color.Lime), 36);
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sure I can fix it myself but we want people to be able to easily start out. I can't tell you how many times I myself have instantly closed and deleted a solution I downloaded because it just didn't work right out of the box. When I try something new troubleshooting is not the first thing I want to do.

Beta Was this translation helpful? Give feedback.
All reactions