The key press detection fails when compiling the example Asteroids code for Windows (and I assume Linux/Mac.) Diagnosed as caused by the weakly referenced event listeners in KeyPoll.hx. When they are set as regular listeners, the code works as designed. This may be a bug in NME or HXCPP.
The key press detection fails when compiling the example Asteroids code for Windows (and I assume Linux/Mac.) Diagnosed as caused by the weakly referenced event listeners in KeyPoll.hx. When they are set as regular listeners, the code works as designed. This may be a bug in NME or HXCPP.
PS: Also added a FlashDevelop Project file.