https://github.com/haxenme/nme
A cross-platform native backend for Haxe projects
https://github.com/haxenme/nme
Last synced: 3 months ago
JSON representation
A cross-platform native backend for Haxe projects
- Host: GitHub
- URL: https://github.com/haxenme/nme
- Owner: haxenme
- License: mit
- Created: 2012-07-14T22:19:48.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2025-09-16T13:05:56.000Z (9 months ago)
- Last Synced: 2025-09-16T15:35:26.095Z (9 months ago)
- Language: C
- Homepage:
- Size: 214 MB
- Stars: 491
- Watchers: 50
- Forks: 124
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Changelog: Changes.md
- License: LICENSE
Awesome Lists containing this project
- awesome-haxe-gamedev - NME - A cross-platform native backend (`Web`, `Mobile`, `Desktop`). (Low-level Engine)
- awesome-game-engine-dev - nme - Cross-platform native backend for Haxe projects. (Libraries / Haxe)
README


## Native Media Engine
A proven backend for native iOS, Android, Windows, Mac and Linux
### Installation
1. Install [Haxe](http://www.haxe.org)
1. Install NME
```
haxelib install hxcpp
haxelib install nme
haxelib run nme setup
```
To run with `NME_LOCAL_TOOLKIT` (the default for android now), update the submodules with:
```
git submodule init
git submodule update
```
To install a specific version
1. Go to [the releases page](https://github.com/haxenme/nme/releases)
1. Download a version, for example nme-6.3.24.zip
1. ```haxelib install ~/Downloads/nme-6.3.24.zip```
### Building applications
Create your own application, or clone a sample:
```
nme clone BunnyMark -v
cd BunnyMark
```
Build and test your application with the different backends:
```
nme cpp
nme cppia
nme jsprime
nme neko
nme android
nme update ios
-> Build + run from XCode
````
> *Note:* `nme` is a shortcut to `haxelib run nme`
### Learning NME
Browse the [sample projects](https://github.com/haxenme/nme/tree/master/samples). Every sample project contains the _.hx_ Haxe sources and the _.nmml_ config file to build the example.
### Android
* NDK(r20) Recommended
* `haxelib run nme build android` builds all APKs
* `haxelib run nme test android` only builds the APK required for the running devices architecture