Skip to content

openeggbert/cna-samples

Repository files navigation

CNA Samples

C++ ports of the official Microsoft XNA Game Studio 4.0 sample collection, running on CNA — a C++ reimplementation of the XNA 4.0 programming model built on SDL3.

Prerequisites

Tool Version
CMake ≥ 3.20
C++ compiler C++23 (GCC 13+, Clang 16+, MSVC 19.38+)
CNA sibling directory ../cna
sharp-runtime sibling directory ../sharp-runtime

Clone all three side-by-side:

openeggbert/
├── cna/
├── sharp-runtime/
└── cna-samples/       ← this repo

Building

cmake -B build -DCMAKE_BUILD_TYPE=Debug
cmake --build build

Run a sample:

./build/samples/PrimitivesSample/cna_sample_primitives

Samples

See PLAN.md for the full inventory and migration roadmap.

License

Microsoft Permissive License (Ms-PL) — see LICENSE. Derived from the XNA Game Studio 4.0 sample collection © Microsoft Corporation.

About

C++ ports of the official Microsoft XNA Game Studio 4.0 samples, running on the CNA framework. Web demos coming soon.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors