Box2D
âããã«å¤ãªã®åºã¦ãã¨æããã©ãã¡ãã£ã¨åã«ã¡ã¼ã«ãæ¥ãã®ã§Box2DJSãSourceForgeã®Comunity Choice Awardsã¨ããã®ã«ç»é²ãã¦ã¿ããBox2DJSããªããªãæªããªãã¨æã£ã¦ããã ãã人ã¯ä¸ã®ããããããã£ã¦æ票ãã¦é ããã¨å¹¸ããCategoryã¯ãBest Tool oâ¦
WebOS Goodiesã®ä¼è¤ããã«æãã¦ããã£ããã ãã©ãGoogleã®Web3Dãã©ã°ã¤ã³ãO3Dãã®ãµã³ãã«ã§Box2DJSã使ã£ã¦ããã¦ããããªã http://code.google.com/intl/ja/apis/o3d/docs/samplesdirectory.html#2d ã§ãè¦ã¦ã¿ãã¨ãã³ãã«Box2DJSã®ãã¢ãã®ã¾ã¾3Dâ¦
ã¡ãã£ã¨åã«ä½ã£ããããChromeExperimentsã«æ稿ãã¦ããã ãã© æ¬æ¥ãç¡äºã«æ¡ç¨ããã¾ããã ä¸é±é以ä¸åã«Submitããã®ã«ä½ãé³æ²æ±°ãªããã没ãã¨æã£ã¦ããã©ãã¡ããã¨éã£ã¦ããã£ãããã£ãã
以åFlashã§ä½ã£ã¦çµ¶è³æ¾ç½®ä¸ã ã£ãã¯ã¬ã¨ã³ãã£ã¸ãã¯ã¹ã£ã½ãä½ããªãã ãã©ãã¼ãã¼ããã¦ããã¡ã«ãã¡ã¤ã³å(physicsketch.com)ã¾ã§æéåããããããã¾ããã©ãããããæ°ã«ããªããªãã®ã§ãããã¯ä¸ã¤Box2DJS使ã£ã¦ä½ãç´ãã¦Chrome Experimentsã«ã§â¦
çµç·¯ã¨ãã¦ã¯ãMr.doobãã©ããã®ä¼ç¤¾ï¼ãããGoogle Chromeã®ããã©ã¼ãã³ã¹ã好ããªããæ¹ã§è©¦ãã¦ã¿ã¦ãããããã¨é ¼ã¾ããã»ã»ã»ã®ããªï¼ http://mrdoob.com/blog/post/644ããã§Box2DJSãé¸ã°ããã®ã¯ãããã©ã¼ãã³ã¹ã®æªãæ ã£ã¦æãããã£ã¦ã¡ãã£ã¨â¦
ã»ã»ã»ãªããã¾ãããæ¼ããã²ããã¶ãã«ã»ã«ã¯ãå°ç¨deliciousã¢ã«ã¦ã³ã*1ãè¦ãããBox2DJSã®ãã¯ãæ°ã以åè¦ãã¨ããããããªã250ãããå¢ãã¦ã¦ãããã¾ãããä½ããã£ãã®ãã¨æã£ã¦Googleã§ããã°æ¤ç´¢ãã¦ã¿ãã¨ãããã©ããæ¨æ¥ããã§ç´¹ä»ãããã®â¦
ã§ãããã¼ã
http://box2d-js.sourceforge.net/éãï¼èªè¾¼ã»å®è¡å ±ï¼ãæ°ã«ããªãåæ¯ ãªJavaScripterã¯ãã使ã£ã¦ã°ãã°ãç©çã·ãã¥ã¬ã¼ã·ã§ã³ããã¨ããã¨æãããåãæ¸ããªãã§ããã®ã¨ãã³ã³ãã¤ã«ããããªãã®ã¨ã§ãããã£ã¨è©¦ãã«ã¯Box2DFlashAS3ãã楽ããã³ãç¨â¦
Box2DFlashAS3ã¨ããAS3ç¨ã®ç©çã·ãã¥ã¬ã¼ã¿ãããããã§ããããåãECMAScriptã ããASãå°ãç½®æããã°JSã§ãåãããããï¼ãã¨è¨ãåãªãæãä»ããå®è¡ãã¦ã¿ããããã£ããåãã¾ããã ã¾ãããã³ãã«åããªãã¦ãæ£ç´èªåã§ãã³ã³ã£ãã ã¾ãããâ¦
æ¨æ¥ãæ¢ã«å®æã®åã«éãã¦ããã¨æããã¦ãã2Dãã£ã±ãã·ãã¥ã¬ã¼ã¿ã¼ã軽ã ä¸åã次ä¸ä»£ã·ãã¥ã¬ã¼ã¿ã¼ãèªãå ¬éãã¦ä¸çãç²ã£ãã¤ããã§ããã®ã«ãä¸éæ§ã«è¯éºã«ã¹ã«ã¼ããã¦ããã¸ãå¯ããæããã¦ããä»æ¥ãã®é ã§ãã ãããããªãã¨ã¯ãã¦ãããâ¦
ããªã³ã ã®ã¨ã¤ããªã«ãã¼ã«ä¼ç»ãå ¬éããã¦ã¾ãã ç§ã®ã¯ãããhttp://hm11.drecom.co.jp/service_oppai ãã¾ããã¨ã¤ããªã«ãã¼ã«ã«ããã¤ãã¦ä½ãããããä½ã£ãã ãã ãï¼ ã£ã¦è¨ããã¦ãã¾ãã¨ã¾ããã®éããªãã ãã©ããæãã®ã»ã幸ããªæ°æã¡ã«ãªãâ¦
http://blog.technohippy.net/Sketch.swf?style=crayon (éãã®ã§ãã©ã¡ã¼ã¿ä»ããªãã¨ãã¯ã¯ã¬ã¨ã³ãããªããã¾ãã) ãããã¾ãã«åä½ãéãã®ã§ã©ããããããã»ã»ã»ã ã¨ããããEnterãæ¼ãã°ã·ã³ãã«ãªè¡¨ç¤ºã§ããã¨ããããåãã¾ãã
ååããã®è¿½å ç¹ã¨å¤æ´ç¹ã å転ãã ç©ä½å é¨ããéå§ãã¦ãã¬ã®åã«æãæ²ããç·ãæãã¨ãã®ç©ä½ãå転ãå§ãã¾ã æãæ¢ãã ã¹ãã¼ã¹ãã¼ã§æãæ¢ã¾ãã¾ã ç©ãçãã å¤æ´ãå°ãã丸ãæãã°è»¸ãã§ãã¦ããããå²ãããã«æ¸ããç©ä½ãåºå®ããã¾ããâ¦
ããããã㨠ä½æä¸ã®ã¯ã¬ã¨ã³ãã£ã¸ãã¯ã¹ãã©ãã§äºéã®æ¯ãåãä½ã£ã¦ãåã«ãªãæ¯ãåã大ããæ¯ããã¨ãã«ã親ã«ãªãæ¯ãåã®è»¸ã«ä½¿ã£ã¦ããããã£ã¨è¡çªããªãããã«ãããã(æ¯ãåå士ã¯ã¸ã§ã¤ã³ãã®è¨å®ã§æ¢ã«è¡çªããªã)1. 軸ã®groupIndexã -1 â¦
â»ã½ã¼ã¹ã¯æ¿ãã端æã£ã¦ã¾ããè¡çªãã£ã«ã¿ã¯ã·ã§ã¤ããéãªã£ãã¨ãã«è¡çªã®å¦çãåãããã©ããã決ããããã«ä½¿ç¨ãããã public class b2ContactManager extends b2PairCallback { public override function PairAdded(proxyUserData1:*, proxyUserDaâ¦
ä½ãããã®Crayon Physics Flexã ãã©ãã¯ã¬ã¨ã³ã£ã½ãè¦ãç®ã¯ã¨ããããç¾ç¶ã§ãåä½ã ããªããã¢ãåç¾ã§ããããªæ°ãããã®ã§ãã£ã¦ã¿ãããªããèªåè»ãèµ°ããã¢ã¯æå³ä¸æãªã®ã§çç¥ãhttp://video.google.com/videoplay?docid=-6739681567660926805å â¦
http://blog.technohippy.net/Sketch.swf å³å½¢ãæã ãã©ãã°ãã¦ç·ãå¼ãã¦ãã ãããå é¨ãè©°ã¾ã£ã¦ãå³å½¢ã¯åã¨å¸åå¤è§å½¢ã ãã§ããã®å ´åã¯å³å½¢ã«è²ãå¡ããã¾ãã å³å½¢ãæ¶ã æ¶ãããå³å½¢ã®ä¸ã§å°ããããããããã£ã¦ããã°æ¶ãã¾ãã å³å½¢ãåºå®ãâ¦
ãããªæãã§ãã ãªãã¨ãªãæ¬å®¶ã£ã½ããªã£ã¦ãããhttp://blog.technohippy.net/Sketch.swfææ¸ã風 ã¾ãä¸èº«ã¯çµå±ãããªãã ãã© è¤éãªå½¢ãåå½¢ã¨èªèãã¡ããã®ã¯æ©ãç´ããªãã¨ãªãã»ã»ã»ãã§ãååããã¯æé·ãããã
¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ââï¼â¡,,,,â¼,,,__ â¡ ï¼ââ/ E_/>'ä¸ï¼/,__,,... iã. ¶¶¶/ ããããã åã¾ããã»ãã㪠r^ã½>{i_ ãï¾_,....__;´ {ãã¸Â¶/ ãã¯ã¬ã¨ã³ãã£ã¸ãã¯ã¹ãã©ãã ï¾ ||ï¼=o'â¦
ä¸ã®åç»ããããé¢ç½ãã¦èªåã§ã触ã£ã¦ã¿ãããªã£ãã®ã§ã¡ãã£ã¨ä½ã£ã¦ã¿ã¾ãããã¾ã å ¨ç¶å®æã¨ããããªããã©ããã£ããåãããã ãã§ãæãã®ã»ã楽ããã£ãã®ã§ã¨ããããå ¬éãä¸æ©ã§ãã£ã¨çµãã ãã®ãªã®ã§å³å½¢ã®å¤å®ã¨ãã¯ããªãé©å½ã§ãã»ã»ã»ãhâ¦
ããªã´ã³ã·ã§ã¤ãã®é ç¹æ°ã¯ããã©ã«ãã§8ã¤ã«å¶éããã¦ãã®ã§ãå¢ããããæã¯ä»¥ä¸ãä¿®æ£ãBox2D/Common/b2Settings.as //static public const b2_maxPolyVertices:int = 8; static public const b2_maxPolyVertices:int = 20; å¶éãè¶ããã¨ãã®ã¨ã©ã¼ãâ¦
ååã®è¦æã§ãã£ã±ãã®URLã«ãã©ã¡ã¼ã¿ãä»ãã¦ç´æ¥ã«ã¹ã¿ãã¤ãºã§ããããã«ãã¾ãããè¨å®å¯è½ãªãã©ã¡ã¼ã¿ã¯ä»¥ä¸ã«ãªãã¾ãã p å§åããã£ã±ãã®ããªãã¼ãã«è¨å®ããã¨ã¨ã¦ãæ²ããæ°æã¡ã«ãªãã s 大ããã0ã630ã630ãä¸çªå¤§ããã»ã»ã»ã¨è¨ãã¹ãâ¦
è¦ç¯1æ¥ãããããããããåé¡ãã解æ¶ãã¦é©åº¦ã«æ¸è¡°ããããã«ãªãããè¦æã«ãçããã¦æ¥ã®æå®ã®ãããªTKBãã¤ãã¾ãããå®ã»ç§ã»ãããã å°ãªãã¨ãä»å¾åæ°å¹´ã®éã¯ãæ¥æ¬ã®ãã£ã±ãã·ãã¥ã¬ã¼ã·ã§ã³(2次å )ã«ãã以ä¸ã®å¤§ããªé²æ©ã¯è¦ãããããã®â¦
http://blog.technohippy.net/Oppai.swf ããããæ©è½ãå¢ãã¦ããã®ã§ãã£ããã¾ã¨ã ãã©ãã° : ã¤ã¤ãããã²ã£ã±ã£ãã ï½ : ãããã ï½ : ãããªãï¼ããããï¼ ï½ : ã°ãã¯ã¤ã¦ã â : ãããã â : ã¡ããã â : ããã â : ããããã ï¼ : TKBãä¸ã«â¦
èµ·ããã®ã§ã¨ãããããã¹ãæ¥ãï¼ã¢ã¼ãã追å ã ãã®ç¶æ ã ã¨äººåã§éçºã§ããªãã®ã§ã»ã»ã»ã Enter : ç·ç»ââçè²ãããã
ããã©ã«ãã¯æ°å¤ãã®è©¦è¡é¯èª¤ãç¹°è¿ãæé©ã¨æãããå¤ã«è¨å®ããã¦ãããã¨ããäºæ¿ã®ä¸ããã£ã±ãã«ã¹ã¿ãã¤ãºãã楽ãã¿ãã ãããhttp://blog.technohippy.net/Oppai.swf ï½ : ãããã ï½ : ãããªãï¼ããããï¼ ï½ : ã°ãã¯ã¤ã¦ã â : ãããã â : â¦
ãããå人çã«ã¯ã¡ãã£ã¨ä¸æ¬æãªãããï¼ æ¢ã¾ã£ã¦ãã¨ãããè¦ãã¨æå³ä¸æãªæ²ç·ã ãã©ãåãåºãã¨ãã£ã±ãã»ã»ã»ã£ã¦ããã®ãç²ã ã¨æã£ã¦ããã ãã©ãã¦ãããã¨ã§ååã«ããªããããã¾ã¾ã«æ©è½è¿½å ããããããªãã¾ãããè¯ãåã¢ã¼ã(TKBãâ ã«ãªãâ¦
ããªã³ã ããªããªãã§ããã ããã人ããã¯ãã³ã¡ã³ããã¦ãããã®ã§ã¡ãã£ã¨ã ãé å¼µãã¾ããããã¦ã¹ãã©ãã°ããã°ãã£ã±ããã¤ã¤ãããã²ã£ã±ã£ããã§ãã¾ããï¼AS3ããåãã£ã¦ãªãã®ã§ãªã«ã表示ã¯ããã¾ããã»ã»ã»ï¼http://blog.technohippy.net/Oppaâ¦
å æ¥flashrodããã®ã¨ãããåèã«ãã£ã±ããã·ãã¥ã¬ã¼ããã¦ã¿ããã ãã©ãªããå¤ãªæããååã«ã¯ãæºãã¦ãããããªãã¦ã«ããæ°ãå¤ãã£ã¦ããã¨ãããããã£ã±ããããªãã¦ãå°»ã§ããããã¨ãè¨ãããå§æ«ã ããããçç±ããã©ã¡ã¼ã¿ã®èª¿æ´ãªã®ããå®â¦
(åèï¼flashrodï¼Box2Dã£ã¦ããå¶ç´ãªãããããã³ã£ããããã http://blog.technohippy.net/Breast.swf æºãã¾ãï¼ä¸èªç¶ã»ã»ã»ï¼ãã½ã¼ã¹ã¯ä»¥ä¸ã ã¨ããã©ããèªåã§ãä½ãã£ã¦ããããåãã£ã¦ã¾ããã Spring.as package { import Box2D.Collision.*;â¦