ActionScriptãJavaScriptãC++ãªã©ããã¾ãã¾ãªè¨èªåãã«ã³ã³ãã¤ã«ã§ãããã¨ãã¦ãªã®Haxe (http://haxe.org/)ã¨ãHaxeåãã²ã¼ã ã©ã¤ãã©ãªã®NME (http://www.haxenme.org/)ã使ãã°ãä¸ã¤ã®ã½ã¼ã¹ã³ã¼ããæ¸ãã ãã§ãFlashãHTML5ãWidnowsãã¤ãã£ãã§åãã²ã¼ã ãä½ããã¨ãã§ãããããã®ã§ãä½ã£ã¦ã¿ãã
- benchstg (http://abagames.sakura.ne.jp/nme/benchstg/)
確ãã«ã§ãããä¸ã¤ã®ã³ã¼ãããè¤æ°ã®ç°å¢åããã¤ããªãä½ããã®ã¯ç´ æ´ããããè¿ä»£çãªSDL (http://www.libsdl.org/)ã¨ããæãã
ãã ãä½ãèããã«Haxeã®ã³ã¼ããæ¸ãã¦ããã°ãªãã§ãã¯ãã¹ãã©ãããã©ã¼ã ã«ãªããã¨ã¾ã§ã¯ãããªãå°è±¡ãæåã¯Flashåãã«ä½ã£ã¦ãã¦ãããHTML5åãã«ãã«ããããã¨æã£ãããåºæ¥ä¸ãã£ãJavaScriptãã¾ã¨ãã«åããªããããããã¨è©¦è¡é¯èª¤ãã¦ããã£ã¨HTML5çãã§ããã¨æã£ã¦ã次ã«Windowsçãä½ã£ãããã¾ãåããªããã¡ããç´ããã¨ããæãã
ä¸ã®ä½æ¥ããã£ã¦ãã¦æ°ä»ãããã¯ãã¹ãã©ãããã©ã¼ã ãªHaxe+NMEãæ¸ãéã®æ³¨æç¹ãæ¸ãã¦ããã
- å¤æ°ãã¡ããã¨åæåãããActionScriptã ã¨å®£è¨ãã¦æ¾ã£ã¦ããã¦ãintã¯0ã«ãBooleanã¯falseã«ãªã£ã¦ããããããããç°å¢ã«ãã£ã¦ã¯ãã®ä¿è¨¼ããªã
- ã¯ã©ã¹ã¤ã³ã¹ã¿ã³ã¹ãDynamicåã§æ±ãã¨ãããµãã¯ã©ã¹ã«å®ç¾©ããã¦ããé¢æ°ãå¼ã³åºãããå¯è½æ§ãæ¤ç¥ãæãªãããã«è¦ãããä½åãªã³ã¼ããæé¤ãã'--dead-code-elimination'ãªãã·ã§ã³ãä»ããæã«ãå¿ è¦ãªã³ã¼ãã¾ã§åããããã¨ãããã親ã¯ã©ã¹ã«é¢æ°å®ç¾©ãã¦overrideããã¨å®å ¨
- Haxeã®åæ¨è«ãããããä¿¡ç¨ãã¦ä½¿ããåãå ¨ç¶æ¸ããªãã§ä½¿ã£ã¦ããã¨ããã¾ã«è¨³åãããã¨ã©ã¼ãåããã¨ããã
- UIntã使ããªããç°å¢ã«ãã£ã¦ã¯NMEãUIntãæ±ããªã
- Lib.stage.stageWidthã¨ãã確å®ããã¿ã¤ãã³ã°ã¯ç°å¢ã«ãã£ã¦å¾®å¦ã«ç°ãªãã®ã§ãå¯è½ãªéãå¾ã®æ¹ã§åå¾ãã
- ã¢ã«ãã¡ãã¬ã³ãä»ãã®BitmapData.copyPixelsãããªããHTML5ç°å¢ã§ãã¾ãåããªã
- SpriteãBitmapData.drawããã®ãHTML5ã§ãã¾ãåãã¦ãªãæãã
- Windowsãã¤ãã£ãä¸ã®ãããã°ã¯é¢åã ãã'nme test foo.nmml windows -debug'ã¨ããã°ãHaxeã³ã¼ãä¸ã®ã©ã®è¡ã§è½ã¡ããæãã¦ãããã®ã§ä¾¿å©
äºæ³ããããã¨ã ããç°å¢ãã¨ã«ããã©ã¼ãã³ã¹ã¯ã¾ã¡ã¾ã¡ãæå ã®PCã ã¨ãWindowsãã¤ãã£ãããã¡ããæéã ãFlashãååéãã¦ãHTML5ã¯Chrome21ã ã¨ã¾ã ãªãã¨ããªããã©ãFirefox15ã¯ç¸å½å³ãããIE9ã¯åãã®ãããããã²ã©ãããã©ã¼ãã³ã¹ãã¨ããæããWebGLã使ã£ãæç»ãã§ããã°ã ãã¶éãã¨æãã®ã ããNMEã¯ã¾ã 対å¿ãã¦ããªãã
NMEã¯iOSãAndroidåãã«ããã«ãã§ããã¿ãããªã®ã§ãã¯ãã¹ãã©ãããã©ã¼ã èãã®äººã«ã¯ã¨ã¦ãããç°å¢ã ã¨æããHaxeèªä½ãå¼·åãªåæ¨è«ã®ãããã§ãå°ãªãå´åã§å¼·åãªã¨ã©ã¼ãã§ãã¯ãè¡ãããããè¨èªã ã
ãã¨ã¯3Dã®ã¯ãã¹ãã©ãããã©ã¼ã ã©ã¤ãã©ãªãããã°ããè¯ãã®ã ããAway3Dã¨ãthree.jsã¨ããèãã©ãããããHaxeåã3Dã©ã¤ãã©ãªã欲ããã¨ããã ã