http://qiita.com/derui@github/items/6e8de68cc1b7295de3a6 ãªããæè¿ãJavascriptãæ¸ãã¦ããã¨ããªããããã©ã£ãã§è¦ããã¨ãããªã¼ãã¨ããæè¦ãè¦ãã¦ãã¾ãããã½ã¼ã¹ã¯å¿ãã¾ããããJavaScriptã¯Lispãä½ãããã£ã人ãä½ã£ãè¨èªãã¨ãã話ãç®ã«ãã¦ãããã!ã¨ç®ããé±ãè½ã¡ãæ°åã§ããã ãããªæ°åãè¨äºã«ãããã®ã§ããæ£ç¢ºæ§ã¯ç½®ãã¦ããã¦ãJavaScriptãããããªã人ã§ããLispã¨ãä»ã®è¨èªãå¦ã¶ãã¨ã§ã楽ã«æ¦å¿µãç解ã§ãããã¨ãããã¨ãããããããªãããªã¼ãã¨æãã¾ãããã¾ãåçè¨èªã§Lispã«ãªãã¦ä»ã®è¨èªã«ããããªãã¦ãã®ã¯ã»ã¨ãã©ç¡ãã¨ã¯æãã¾ãã®ã§ãLispä¸åå¦ãã§ããã¨ãç¾å¨ã®ããã°ã©ãã³ã°è¨èªã®æ¦å¿µã¯å¤§ä½ç解ã§ãã¡ããããããªãã§ããããã Polymerãå©ç¨ãã¦è¦ç´ ãä½æãã¦ãã£ã¦ã
Posted 2012å¹´12æ31æ¥ by fushimi & filed under ãªãªã¼ã¹ãã¼ã. ããã«ã¡ã¯ãéçºãã¼ã ã®ä¼è¦ã§ãã enchant.js v0.6.2 ããªãªã¼ã¹ãã¾ããããã¡ããããã¦ã³ãã¼ãã§ãã¾ãã 主ãªå¤æ´ç¹ã¯ä»¥ä¸ã®éãã§ãã Lazy-Scene ã«ãã Android æç»ã®é«éå (#145) v0.6ç³»ã®Sceneã¯Canvasæç»ã¨Domæç»ããSceneãæã¤CanvasLayerãªãã¸ã§ã¯ãã¨DomLayerã«è¡ãã¾ããSceneã«è¿½å ããEntityã_elementããããã£ãæã¤ãã«ãã£ã¦ãCanvasLayerã«æç»ãããDomLayerã«æç»ããããæ¯ãåãã¦ãã¾ããã ç¾å¨ã®ãã¼ã¸ã§ã³ã§ã¯Sceneã®çææã«CanvasLayerã¨DomLayerãçæãSceneã®æã¤divè¦ç´ ã«è¿½å ãã¦ããããã常ã«Canvasã®ä¸ã«divè¦
ã¤ã³ãã¼ãã¼ã²ã¼ã ã¯ãç»é¢ã®ä¸é¨ããè¿«ã£ã¦ããå¤æ°ã®æµãã£ã©ã¯ã¿ã¼ï¼ã¤ã³ãã¼ãã¼ï¼ãæã¡åãã²ã¼ã ã§ããæµãå ¨æ» ãããã¨ã²ã¼ã ã¯ãªã¢ã«ãªããéã«ãæµãç»é¢ä¸ã¾ã§å°éããããèªæ©ãæãããã¨ã²ã¼ã ãªã¼ãã¼ã«ãªãã¾ããã¤ã³ãã¼ãã¼ã²ã¼ã ã®æåãåãã¦ããã ã³ã®ãã®ã£ã©ã¯ã·ã¢ã³ããã®ã£ã©ã¬ããã®ã£ãã©ã¹ããªã©ãã¤ã³ãã¼ãã¼ã²ã¼ã ããã¼ã¹ã«ããã²ã¼ã ãæ°å¤ãç»å ´ãã¾ãããã¤ã³ãã¼ãã¼ã²ã¼ã ã®æåã«ãããä»æ¥ã®ã²ã¼ã ã®åºç¤ãç¯ãããã¨ãã£ã¦ãããããããã¾ããã ä»åã®JavaScriptã©ãã¯ãååã«å¼ãç¶ããenchant.jsãã使ã£ã¦ãã¤ã³ãã¼ãã¼ã¿ã¤ãã®ã²ã¼ã ãä½ãã¾ããã¤ã³ãã¼ãã¼ã¨åãããã«æåã«ãã¹ã¦ã®æµãç»é¢ã«è¡¨ç¤ºãããæµããã¹ã¦æã¦ã°ã¯ãªã¢ã«ãªãã¾ããã¯ãªã¢ããã¨å度æµãåºç¾ããèªæ©ãæãããã¾ã§å»¶ã ã¨ã²ã¼ã ãç¹°ãè¿ãã¾ãã ãããã¯å´©ãããã¤ã³ãã¼ãã¼ã²ã¼ã 㸠ã¤ã³ãã¼ãã¼ã²ã¼
ã¢ãã¤ã«ã²ã¼ã ç©åãå¢ãã§åèããã¢ãã¤ã«ã²ã¼ã æ¥çã¯ããããããªèª²é¡ãåé¡ã«ç´é¢ããªããã巨大åããä»æ¥ã®æç¹ã§ã®ã¹ãã¼ããã©ã³åãã²ã¼ã ã®å¸å ´ã¸ã¨ç¶æ¿ããã¦ããã¾ãã ã¢ãã¤ã«ã²ã¼ã ã®æ´å² 2001 Javaã¢ããªã¨3Dã²ã¼ã ã®ç»å ´ Javaãå©ç¨ã§ããããã«ãªã£ããã¨ã«ããããã¦ã³ãã¼ãåã®ã²ã¼ã ãä¾çµ¦ã§ããããã«ãªãã¾ããã 2002 æºå¸¯é»è©±ç«¯æ«ã®å¤§å®¹éåã»3Dåç«¶äº Javaæè¼æºå¸¯é»è©±ç«¯æ«ãç»å ´ãã¦ããããå ã1å¹´ã®éã«ãã¢ããªã®ãµã¤ãºã«é¢ãã¦ã¯10åã«åºå¤§åãã表ç¾æ¹æ³ã2Dãã3Dã«ã·ãããå§ãã¾ãããJ-PHONEã¯ãã¼ãã¦ã¹ãããã¹ãã¼ã¹ããªã¢ã¼ããªã©ã¨ãã£ãæã®ã¢ã¼ã±ã¼ãã²ã¼ã ãããã³ã¢ã¯SIMCITYãªã©ãã½ã³ã³ã§ä¸ççè¦æ¨¡ã®ããããé£ã°ããã²ã¼ã ã主åååã¨ãã¦ãã¾ããã 2003 ã¢ãã¤ã«ã²ã¼ã ã®ä¸è¬å ã¡ã¢ãªã®å¶éãå³ããJavaä»®æ³ãã·ã³ä¸ã§ã¯ãªããOS
ã¢ãã¤ã«ã²ã¼ã ç©åãå¢ãã§åèããã¢ãã¤ã«ã²ã¼ã æ¥çã¯ããããããªèª²é¡ãåé¡ã«ç´é¢ããªããã巨大åããä»æ¥ã®æç¹ã§ã®ã¹ãã¼ããã©ã³åãã²ã¼ã ã®å¸å ´ã¸ã¨ç¶æ¿ããã¦ããã¾ãã ã¢ãã¤ã«ã²ã¼ã ã®æ´å² 2001 Javaã¢ããªã¨3Dã²ã¼ã ã®ç»å ´ Javaãå©ç¨ã§ããããã«ãªã£ããã¨ã«ããããã¦ã³ãã¼ãåã®ã²ã¼ã ãä¾çµ¦ã§ããããã«ãªãã¾ããã 2002 æºå¸¯é»è©±ç«¯æ«ã®å¤§å®¹éåã»3Dåç«¶äº Javaæè¼æºå¸¯é»è©±ç«¯æ«ãç»å ´ãã¦ããããå ã1å¹´ã®éã«ãã¢ããªã®ãµã¤ãºã«é¢ãã¦ã¯10åã«åºå¤§åãã表ç¾æ¹æ³ã2Dãã3Dã«ã·ãããå§ãã¾ãããJ-PHONEã¯ãã¼ãã¦ã¹ãããã¹ãã¼ã¹ããªã¢ã¼ããªã©ã¨ãã£ãæã®ã¢ã¼ã±ã¼ãã²ã¼ã ãããã³ã¢ã¯SIMCITYãªã©ãã½ã³ã³ã§ä¸ççè¦æ¨¡ã®ããããé£ã°ããã²ã¼ã ã主åååã¨ãã¦ãã¾ããã 2003 ã¢ãã¤ã«ã²ã¼ã ã®ä¸è¬å ã¡ã¢ãªã®å¶éãå³ããJavaä»®æ³ãã·ã³ä¸ã§ã¯ãªããOS
JavaScript, Game | 17:11 | CoffeeScriptããenchant.jsãå©ãã¦ä½¿ã£ã¦ã¿ãã¨ãããã¹ã´ãéãã§ã¯ãã¹ãã©ãããã©ã¼ã ãªã²ã¼ã ãã§ãããã£ã¦ãé常ã«éçºãããããæãã ã£ãã®ã§ãä»åã®éçºã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ããããã®æ¹æ³ã§ã²ã¼ã ãéçºãã㨠å®è¡ç°å¢æ§ç¯ãä¸è¦ã§ ã¯ãã¹ãã©ãããã©ã¼ã ã§ã¹ãã¼ããã©ã³ã§ãåã éçºãããã åã¾ããé度ã§ã²ã¼ã éçºãã§ãã¾ããenchant.jsã¨ã¯ãå½ç£ã®JavaScriptã§å®è£ ãããã²ã¼ã ãã¬ã¼ã ã¯ã¼ã¯ã§ãã ããã¥ã¡ã³ãããµã³ãã«ãå å®ãã¦ãããåå¦è ã§ãæ·å± ãä½ãã®ãç¹å¾´ã§ããenchant.js - HTML5 + JavaScript Game Engine CoffeeScriptã¨ã¯ JavaScriptã«ã³ã³ãã¤ã«ãããã¨ãã§ãã ææ³ãã¹ã®å ´åãã³ã³ãã¤ã«ã§ããªããããã¨ã©ã¼ã«æ°ä»ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}