Skip to content

haxenme/nme

Folders and files

NameName
Last commit message
Last commit date
Feb 1, 2025
Oct 17, 2024
Mar 22, 2017
Apr 24, 2024
Jul 18, 2023
Mar 24, 2017
Feb 2, 2025
Oct 17, 2024
Feb 1, 2025
Dec 3, 2024
Dec 4, 2020
Feb 1, 2025
Jun 10, 2013
Jun 20, 2020
Sep 13, 2024
Dec 4, 2020
Sep 10, 2017
Nov 25, 2013
Sep 5, 2024
Feb 1, 2025
Sep 21, 2024
Feb 1, 2025

Repository files navigation

Build Status

Native Media Engine

A proven backend for native iOS, Android, Windows, Mac and Linux

Installation

  1. Install Haxe

  2. 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
  2. Download a version, for example nme-6.3.24.zip
  3. 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. 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