nadako / Ash-Haxe

Port of Ash entity framework to Haxe
Other
131 stars 37 forks source link

Asteroids: Weak referenced event listeners break key press detection in HXCPP #1

Closed 13rac1 closed 11 years ago

13rac1 commented 11 years ago

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.