Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Xamarin
  3. CocosSharp

CocosSharp

C#v1.6.1.0

A C# implementation of Cocos2D and Cocos3D APIs for building cross-platform games with MonoGame.

GitHubGitHub
495 stars160 forks0 contributors

What is CocosSharp?

CocosSharp is a .NET library for creating simple games using C# and F#, providing a cross-platform game development framework. It is a port of the popular Cocos2D engine, derived from Cocos2D-X via Cocos2D-XNA, and runs on any platform supported by MonoGame.

Target Audience

.NET developers, particularly those using C# or F#, who want to build 2D or 3D games for multiple platforms including Windows, macOS, Linux, iOS, and Android.

Value Proposition

Developers choose CocosSharp for its idiomatic C# API that removes historical warts from earlier C++ and Objective-C ports, while maintaining compatibility with the established Cocos2D and Cocos3D APIs for cross-platform game development.

Overview

CocosSharp is a C# implementation of the Cocos2D and Cocos3D APIs that runs on any platform where MonoGame runs.

Use Cases

Best For

  • Building simple 2D or 3D games with C# or F# for cross-platform deployment.
  • Developing games for Windows, macOS, Linux, iOS, and Android using a single codebase via MonoGame.
  • Leveraging the Cocos2D or Cocos3D APIs within the .NET ecosystem for game development.
  • Creating educational or prototype games with extensive sample code and testing frameworks.
  • Migrating existing Cocos2D-XNA projects to a more modern, idiomatically correct C# library.
  • Ensuring game reliability through platform-specific test beds and extensive testing suites.

Not Ideal For

  • Teams developing high-performance 3D AAA games with complex graphics
  • Projects requiring drag-and-drop editors or minimal configuration setup
  • Developers needing extensive third-party asset stores or large plugin ecosystems
  • Environments where non-.NET languages or technologies are mandated

Pros & Cons

Pros

Cross-Platform Reach

Supports Windows, macOS, Linux, iOS, and Android through MonoGame, enabling a single codebase for multiple platforms as highlighted in the key features.

Idiomatic C# API

Removes historical warts from C++ and Objective-C ports, making it more natural for .NET developers, as stated in the project philosophy.

Comprehensive Testing

Includes platform-specific test bed solutions (e.g., Android, iOS, Windows) to ensure reliability, with dedicated test projects in the repository.

Rich Sample Code

Offers a collection of sample projects to help developers get started quickly, available in the linked samples repository.

Cons

Complex Initial Setup

Requires using Protobuild to generate projects and managing Git submodules, which can be error-prone and time-consuming, as detailed in the README's setup instructions.

Limited Community Ecosystem

Being a fork of an older project and less popular than engines like Unity, it has a smaller community, fewer tutorials, and limited third-party support.

Dependency on MonoGame

Any bugs, performance issues, or update delays in MonoGame directly impact CocosSharp, tying its stability to another project's maintenance.

Frequently Asked Questions

Quick Stats

Stars495
Forks160
Contributors0
Open Issues80
Last commit6 years ago
CreatedSince 2013

Tags

#mobile-games#desktop-games#csharp#3d-graphics#dotnet#game-development#monogame#cross-platform#game-engine#2d-graphics

Built With

M
MonoGame
F
F#
C
C++

Included in

Xamarin1.9k
Auto-fetched 3 hours ago

Related Projects

MonoGameMonoGame

One framework for creating powerful cross-platform games.

Stars14,097
Forks3,083
Last commit2 days ago
ParadoxParadox

Old repo for Xenko Game Engine. Please use https://github.com/xenko3d/xenko instead.

Stars1,525
Forks338
Last commit7 years ago
UrhoSharpUrhoSharp

Code to integrate with the Urho3D engine

Stars465
Forks121
Last commit4 years ago
CocosCreatorCocosCreator

Cocos Creator for Xamarin Platform

Stars12
Forks5
Last commit5 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub