Questions tagged [nme]

NME is a free, open-source framework that enables development for iOS, Android, webOS, BlackBerry, Windows, Mac, Linux and Flash Player from a single codebase.

From http://www.haxenme.org/documentation/about/:

NME is a free, open-source framework that enables development for iOS, Android, webOS, BlackBerry, Windows, Mac, Linux and Flash Player and HTML5 Canvas from a single codebase. Unlike most cross-platform frameworks, NME applications are not written in a low-level language (like C or C++) and does not require a virtual machine or runtime (like Java and Adobe AIR) in order to run on a target platform.

NME projects are written in Haxe, which is a crossplatform, strictly-typed language which itself can be compiled into JavaScript, Flash, NekoVM, PHP, C++ and C#.

66 questions
1
vote
1 answer

drag and drop for html5 in NME project

I am using haxe, nme and flashdevelop. I am trying to convert a flex project to html5. I have a few circles drawn by code on stage. In as3 we can usually add individual eventlisteners to each of the objects (in for loop) and can use the startdrag,…
sharmacal
  • 457
  • 1
  • 6
  • 25
1
vote
2 answers

Haxe - Objects on stage not displaying when deploying to windows

I am using Haxe/nme with Flash Develope to port a flash game to multiple platforms. All my imported library's are from NME. The program compiles and runs fine with Flash as the target. But when I target Windows the program compiles and runs, even…
user1845416
1
vote
1 answer

Options for rendering svg using haxe/nme

There seems to be a couple of different projects with this goal, with different levels of completion. I have just done a quick search, but that was my first impression. So I thought I should ask, anyone who has tested some different options? What…
Mikael Lindqvist
  • 775
  • 5
  • 21
1
vote
1 answer

What is the most accurate method for timing beats of a rhythm game in Haxe (NME)?

I am attempting to create a side scrolling shooter prototype in which the actions of the enemies and bullets are timed to a beat. The target bpm I am working towards is 120. At the centre of this is obviously the timing of the sounds and I have…
JimmyDeemo
  • 313
  • 1
  • 15
1
vote
1 answer

Notifications of exceptions for haxe/nme/flash

I'm using Haxe and NME and the flash target to create a .swf. How do I make sure that uncaught Exceptions are shown? Currently it seems they are just silently eaten up. I'm compiling with: haxelib run nme build path/to/MyNmmlFile.nmml flash I…
Mikael Lindqvist
  • 775
  • 5
  • 21
0
votes
1 answer

Error compiling HaxeUI app on El Capitan

I'm trying to compile a HaxeUI app on Mac OS with the latest version El Capitan. The list of Haxe libraries installed, with versions: $ haxelib list actuate: [1.8.6] box2d: [1.2.3] format: [3.2.1] haxeui-file-dialogs: [0.1.1] haxeui-rich-text:…
Jasveer
  • 209
  • 2
  • 8
0
votes
1 answer

OpenFL Android builds and filtering armv5/armv6 devices on Google Play

I am using OpenFL to build an Android app to distribute on Google Play. I want to target only armv7 devices, and I believe OpenFL does armv7-only builds by default. However when building the OpenFL build system creates and populates the libs/armeabi…
Sam Twidale
  • 1,123
  • 19
  • 16
  • 31
0
votes
1 answer

Haxe: Import from neko, cpp and java sys trees

I want to use Haxe to write a library that can be used by other projects in various different languages. Currently I have at the top of my library: import neko.io.File; import neko.io.FileInput; import neko.io.FileOutput; import…
joeytwiddle
  • 29,306
  • 13
  • 121
  • 110
0
votes
1 answer

How to embed an image in windows target?

I tried to add embed = true in project xml like this: But if I try to delete an image from assets folder, then run the exe file, the image will not be displayed,…
simo
  • 23,342
  • 38
  • 121
  • 218
0
votes
1 answer

How do you clear this error with using HaxePunk in FlashDevelop?

I have tried researching this and using pre-made templates, but to no avail. I just want to get a real basic HaxePunk project working with FlashDevelop, with making Flash games in mind. Going back to real basic tutorials and such, this is my…
Panzercrisis
  • 4,590
  • 6
  • 46
  • 85
0
votes
1 answer

How to get TouchEvent on Windows desktop for OpenFL app?

I'm on a touch enabled Windows machine compiling OpenFL. I'm compiling to the Windows/C++ target using OpenFL and Haxe 3. I cannot get touch events to work. Here's where I'm adding them: private function onAdded(e:Event):Void { …
FlavorScape
  • 13,301
  • 12
  • 75
  • 117
0
votes
1 answer

Why does super class overriden method called?

I am overriding a method ini in a super class, but strangely the ini method in super class is still called although I am not calling it using super Any idea? is this a problem in haxe 3? p.s: its an OpenFL project, targeting flash .. class…
simo
  • 23,342
  • 38
  • 121
  • 218
0
votes
1 answer

No sound on BlackBerry with openfl

I try to use haxe (openfl) for blackberry development. And I test PlayingSound sample - it works. But when I try to load sound from url - doesn't work. Here is my code: public function PlaySong(url:String):Void{ var _url:URLRequest = new…
dmitryhryppa
  • 119
  • 3
  • 11
0
votes
2 answers

Sprite class in OpenFL (formerly NME) for empty placeholder objects?

I am experimenting with Haxe and OpenFL and am wondering if the Sprite class is synonymous with a GameObject in Unity. It seems that sprite instances have a hierarchical structure and I am wondering if this can be utilised to manage objects. For…
Lea Hayes
  • 62,536
  • 16
  • 62
  • 111
0
votes
1 answer

Haxe not detecting libraries

I am a newbie to haxe and nme, and I thought I'd make a sample project and see how it all works. I normally use FlashDevelop for the IDE. First I tried to run the Actuate Example provided…
Zeeshan Ahmad
  • 345
  • 3
  • 17