Cocos2D-Mono.Windows
2.3.7.2
See the version list below for details.
dotnet add package Cocos2D-Mono.Windows --version 2.3.7.2
NuGet\Install-Package Cocos2D-Mono.Windows -Version 2.3.7.2
<PackageReference Include="Cocos2D-Mono.Windows" Version="2.3.7.2" />
paket add Cocos2D-Mono.Windows --version 2.3.7.2
#r "nuget: Cocos2D-Mono.Windows, 2.3.7.2"
// Install Cocos2D-Mono.Windows as a Cake Addin #addin nuget:?package=Cocos2D-Mono.Windows&version=2.3.7.2 // Install Cocos2D-Mono.Windows as a Cake Tool #tool nuget:?package=Cocos2D-Mono.Windows&version=2.3.7.2
Cocos2D-Mono
Cocos2D-Mono is the premier 2D game development engine based upon the wildly popular and successful Cocos2D-X engine and picking up where Cocos2D-XNA left off. With Cocos2D-Mono, the game developer can create fantastic games with rich user experiences without the tremendous cost of a proprietary game library. MIT licensed, and open source hosted at github.com, this framework gives developers total power and control over every aspect of their game. Cocos2D-XNA has been used to deploy games to nearly every type of device in use today using XNA from Microsoft or MonoGame, Cocos2D-Mono hopes to continue that journey. Refreshing the Cocos2D-XNA project to support latest MonoGame versions and bringing support to more platforms, the power of XNA and the depth of Cocos2d are at every game developers reach -again-, taking their creative genius to over 95% of the computing devices on the planet.
Cocos2D-Mono focuses more on the MonoGame Framework and removes the limitations from proper XNA which held the original Cocos2D-XNA project back.
Supported Platforms
We support a growing list of platforms across the desktop, mobile, and console space. If there is a platform we don't support, please make a request.
- Desktop PCs
- Windows 10 Store Apps (UWP)
- Windows Win32 (OpenGL & DirectX)
- Linux (OpenGL)
- macOS (OpenGL)
- Mobile/Tablet Devices
- Android (OpenGL)
- iOS (OpenGL)
- Windows Phone 10 (UWP)
- Consoles
- Xbox One (UWP)
- Coming Soon
- iOS (Metal)
- tvOS (Metal)
- macOS (Metal)
- Xbox One (XDK)
- Nintendo Switch
- PlayStation Vita
- PlayStation 4
Download and Run
Code on GitHub
To obtain the code you will need a git client. Either command line or graphical.
Using the git command line you will need to clone the git repository.
$ git clone https://github.com/brandmooffin/cocos2d-mono.git
Wait until the clone has finished.
You should see something similar to the following:
Cloning into 'cocos2d-mono'...
remote: Counting objects: 20553, done.
remote: Compressing objects: 100% (7677/7677), done.
remote: Total 20553 (delta 14127), reused 18870 (delta 12446)
Receiving objects: 100% (20553/20553), 100.83 MiB | 634 KiB/s, done.
Resolving deltas: 100% (14127/14127), done.
Checking out files: 100% (4130/4130), done.
You now have everything you need to start start developing with Cocos2D-Mono
NOTE: Cocos2D-Mono is currently built with MonoGame Framework 3.7 and included as a nuget package, so no need to pull the MonoGame source code! (Unless you want to anyways, then go for it)
Templates for Visual Studio
To make things as easy as possible templates for Visual Studio are provided and can be found here.
There are currently templates available for Visual Studio 2017 and Visual Studio 2019. Additional IDEs will be supported soon!
Getting Started
Samples
Samples can be found here
NuGet Packages
Cocos2D-Mono is also available as a NuGet package
Tests
We have created solutions for all the supported platforms that serves as our Test Bed for each platform.
You can find those in the Tests directory
cocos2d-mono.Tests.Android
cocos2d-mono.Tests.Windows
cocos2d-mono.Tests.Uwp
cocos2d-mono.Tests.DesktopGL
cocos2d-mono.Tests.iOS
LINUX SETUP NOTE: There are some fonts used within the Test Bed not natively found on Linux, please run the following command to add the missing fonts:
sudo apt-get install ttf-mscorefonts-installer
More tests coming very shortly!
Linux & macOS (OpenGL)
For Linux & macOS projects use DesktopGL (cross-platform with Windows support).
Troubleshooting
If you are running into issues related Unable to load DLL 'freetype6.dll'
or something similar, you may need to install VC++ Runtime for 2012.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- BitMiracle.LibTiff.NET (>= 2.4.626)
- MonoGame.Framework.WindowsDX (>= 3.7.1.189)
- OpenTK (>= 3.0.1)
- SharpDX (>= 4.0.1)
- SharpDX.Direct2D1 (>= 4.0.1)
- SharpDX.Direct3D11 (>= 4.0.1)
- SharpDX.Direct3D9 (>= 4.0.1)
- SharpDX.DXGI (>= 4.0.1)
- SharpDX.Mathematics (>= 4.0.1)
- SharpDX.MediaFoundation (>= 4.0.1)
- SharpDX.XAudio2 (>= 4.0.1)
- SharpDX.XInput (>= 4.0.1)
- SharpZipLib (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.4.8.2 | 27 | 11/25/2024 |
2.4.8.1 | 89 | 10/23/2024 |
2.4.8 | 86 | 10/17/2024 |
2.4.7.18 | 86 | 9/24/2024 |
2.4.7.17 | 114 | 9/9/2024 |
2.4.7.16 | 111 | 8/24/2024 |
2.4.7.15 | 123 | 8/15/2024 |
2.4.7.14 | 82 | 8/5/2024 |
2.4.7.13 | 96 | 8/1/2024 |
2.4.7.12 | 93 | 7/31/2024 |
2.4.7.11 | 80 | 7/29/2024 |
2.4.7.10 | 85 | 7/26/2024 |
2.4.7.9 | 59 | 7/25/2024 |
2.4.7.8 | 86 | 7/22/2024 |
2.4.7.7 | 107 | 7/12/2024 |
2.4.7.6 | 118 | 6/24/2024 |
2.4.7.5 | 115 | 5/23/2024 |
2.4.7.4 | 95 | 5/13/2024 |
2.4.7.3 | 119 | 4/7/2024 |
2.4.7.2 | 124 | 3/31/2024 |
2.4.7.1 | 140 | 3/3/2024 |
2.4.7 | 124 | 2/22/2024 |
2.4.6.4 | 127 | 2/17/2024 |
2.4.6.3 | 142 | 2/10/2024 |
2.4.6.2 | 121 | 2/4/2024 |
2.4.6.1 | 125 | 1/28/2024 |
2.4.6 | 170 | 12/24/2023 |
2.4.5.3 | 214 | 11/8/2023 |
2.4.5.2 | 200 | 10/18/2023 |
2.4.5.1 | 186 | 10/12/2023 |
2.4.5 | 184 | 10/1/2023 |
2.4.4.6 | 169 | 9/22/2023 |
2.4.4.5 | 183 | 9/13/2023 |
2.4.4.4 | 168 | 8/25/2023 |
2.4.4.3 | 164 | 8/24/2023 |
2.4.4.2 | 169 | 8/22/2023 |
2.4.4.1 | 183 | 8/17/2023 |
2.4.4 | 205 | 8/9/2023 |
2.4.3 | 203 | 8/5/2023 |
2.4.2.1 | 206 | 7/8/2023 |
2.4.2 | 179 | 7/8/2023 |
2.4.1 | 200 | 4/22/2023 |
2.4.0 | 295 | 3/5/2023 |
2.3.12 | 447 | 11/17/2022 |
2.3.11.1 | 519 | 8/29/2022 |
2.3.11 | 465 | 8/29/2022 |
2.3.10 | 510 | 7/27/2022 |
2.3.9 | 535 | 6/11/2022 |
2.3.8 | 836 | 2/4/2021 |
2.3.7.2 | 637 | 3/16/2020 |
2.3.6 | 825 | 6/3/2019 |
2.3.5 | 731 | 3/31/2019 |
Support for MonoGame 3.7.1