MonoGame-WinFormsControls:用于将 MonoGame 实用程序和游戏嵌入 WinForms 控件的模板代码

上传者: 42116596 | 上传时间: 2022-06-29 03:32:23 | 文件大小: 79KB | 文件类型: ZIP
C#
MonoGame-WinFormsControls 该项目包含一个带有基本控件的库,用于在 WinForms 中嵌入 MonoGame 内容。 该库可以按原样使用,也可以直接集成到您的代码库中以进行进一步自定义。 控制代码最初源自 MSDN 教程。 这段代码还支持一系列关于在 WinForms 中嵌入 MonoGame 的教程: 此存储库的目的是将教程统一到一个解决方案中,该解决方案可用作实际项目的模板。 项目结构 控制示例 ExampleControl -- 跟踪鼠标事件以绘制正方形的示例控件。 根据需要进行更新,而不是运行更新循环。 游戏示例 ExampleGame.Common —— 一个示例游戏引擎,代表了大部分游戏实现。 ExampleGame.Embedded -- WinForms 项目。 从嵌入式 GameControl 类运行共享游戏代码。 还包括额外的 Wi

文件下载

资源详情

[{"title":"( 58 个子文件 79KB ) MonoGame-WinFormsControls:用于将 MonoGame 实用程序和游戏嵌入 WinForms 控件的模板代码","children":[{"title":"MonoGame-WinFormsControls-master","children":[{"title":"MonoGameWinForms.sln <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"ExampleGame.Embedded","children":[{"title":"ControlInputManager.cs <span style='color:#111;'> 307B </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"ExampleGame.Embedded.csproj <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false},{"title":"Game1.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 6.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"ExampleGame","children":[{"title":"GameInputManager.cs <span style='color:#111;'> 365B </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"Game1.cs <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"Icon.ico <span style='color:#111;'> 31.29KB </span>","children":null,"spread":false},{"title":"ExampleGame.csproj <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"ExampleControl","children":[{"title":"ExampleControl.csproj <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.75KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"SelectedCellsControl.cs <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"MGWinFormsControls","children":[{"title":"ThirdParty","children":[{"title":"GLControl","children":[{"title":"CarbonGLControl.cs <span style='color:#111;'> 2.34KB </span>","children":null,"spread":false},{"title":"X11GLControl.cs <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"GLControl.cs <span style='color:#111;'> 13.53KB </span>","children":null,"spread":false},{"title":"WinGLControl.cs <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"GLControl.designer.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"IGLControl.cs <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"GLControlFactory.cs <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"GLControl.resx <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false},{"title":"DummyGLControl.cs <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"KeyboardUtil.cs <span style='color:#111;'> 7.40KB </span>","children":null,"spread":false},{"title":"MGWinFormsControls.csproj <span style='color:#111;'> 4.70KB </span>","children":null,"spread":false},{"title":"ControlKeyboard.cs <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Settings.settings <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"GameControl.cs <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"GraphicsDeviceService.cs <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"ServiceContainer.cs <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"GraphicsDeviceControl.cs <span style='color:#111;'> 6.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"ExampleGame.Common","children":[{"title":"ExampleGame.Common.csproj <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false},{"title":"InputManager.cs <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":"Engine.cs <span style='color:#111;'> 5.99KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明