MonoGame/MonoGame.Samples
关于
一些使用 MonoGame 编写的跨平台游戏示例。
游戏与模拟器实测星标增长
- 24小时
- -1
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文MonoGame 3.8.5 Samples
A number of simple MonoGame samples for all the supported platforms:
| Platformer 2D Sample | NeonShooter |
|---|---|
| Supported on all platforms | Supported on all platforms |
![]() |
![]() |
| The Platformer 2D sample is a basic 2D platformer pulled from the original XNA samples and upgraded for MonoGame. | Neon Shooter Is a graphically intensive twin-stick shooter with particle effects and save data from Michael Hoffman |
| Auto Pong Sample | Ship Game 3D |
|---|---|
| Supported on all platforms | GL / DX/ iOS / Android |
![]() |
![]() |
| A short sample project showing you how to make the classic game of pong, with generated soundfx, in 300 lines of code. | 3D Ship Game (Descent clone) sample, pulled from the XNA archives and updated for MonoGame |
Tutorial projects
The samples repository is also home to the source for each of the tutorial series:
| Tutorial | Documentation | Source |
|---|---|---|
| Building 2D Games | Link | Link |
| Advanced 2D Shaders | Link | Link |
| FuelCell 3D | Link | Link |
Building the samples
These samples can either be opened and built in Visual Studio for Mac or Windows, alternatively they can be built with the .NET Core tool chain (with the exception of the Windows UWP sample, which is Windows 10 only).
Note: If using CI nugets, be sure to unzip the nugets to an accessible directory. Then make sure that you add the directory to the list of nuget sources on your machine. Something like:
dotnet nuget add source [unzipped-directory-location] -n MG-Nugets
For more details on building projects with the .NET Core tools, please see this guide on the MonoGame documentation site and for more details on nuget package sources.
Supported platforms
The MonoGame samples demonstrate all the public platforms available for use.
Platforms such as XBox, Playstation, Switch and Stadia are private platforms which you need developer accounts with their corresponding vendors to access.
- Windows (Desktop GL, Windows DX, UWP)
- Mac (Desktop GL)
- Linux (Desktop GL)
- Android (Android)
- iOS (iOS)
Note: to build a project for iOS or Mac, you will need a MAC. They will build on Windows but cannot be published unless built on a Mac.
For more details on the platforms supported by MonoGame, please see the Platforms Guide on the MonoGame Documentation site
探索相关项目
加载中…



