{"id":360,"date":"2011-11-09T23:40:57","date_gmt":"2011-11-09T19:40:57","guid":{"rendered":"http:\/\/blog.codestage.ru\/ru\/?p=360"},"modified":"2019-06-14T15:18:36","modified_gmt":"2019-06-14T12:18:36","slug":"2dphysics","status":"publish","type":"post","link":"http:\/\/blog.codestage.ru\/ru\/2011\/11\/09\/2dphysics\/","title":{"rendered":"\u0411\u044b\u0441\u0442\u0440\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 2D \u0444\u0438\u0437\u0438\u0447\u0435\u043a\u0438\u0445 Flash \u0434\u0432\u0438\u0436\u043a\u043e\u0432: Nape (haXe) vs Box2D (Alchemy)"},"content":{"rendered":"<p><strong>Nape<\/strong>: <a href=\"http:\/\/deltaluca.me.uk\/napenew\/m6.1\/r62\/release_nape.swc\" target=\"_blank\" rel=\"noopener noreferrer\">6.1 r49 Release \u0434\u043b\u044f FP 10+<\/a> (\u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e haXe)<br \/>\n<strong>Box2D (Alchemy, WCK)<\/strong>: <a href=\"https:\/\/github.com\/jesses\/wck\" target=\"_blank\" rel=\"noopener noreferrer\">\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0431\u0438\u043b\u0434 \u0438\u0437 GitHub<\/a> (\u043d\u0430 09.11.11, \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Alchemy)<br \/>\n<strong>Flash Player<\/strong>: <a href=\"http:\/\/www.adobe.com\/support\/flashplayer\/downloads.html\" target=\"_blank\" rel=\"noopener noreferrer\">11.0.1.152 Release 32 Bit Standalone (Projector)<\/a> &#8212; \u0414\u0435\u0441\u043a\u0442\u043e\u043f<br \/>\n<strong>AIR<\/strong>: 3.0 &#8212; \u041c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b<\/p>\n<p>\u042f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u0442\u0438 \u0434\u0432\u0438\u0436\u043a\u0438 \u043d\u0430 <strong>\u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0439<\/strong> (Win 7, Core i7 Q740, 1.73 \u0413\u0413\u0446 \u043d\u0430 \u044f\u0434\u0440\u043e, 16 \u0413\u0411 DDR3-1333 \u041c\u0413\u0446) \u0438 <strong>\u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439<\/strong> (Android 3.1, Samsung Galaxy Tab 10.1, \u0440\u0430\u0437\u043e\u0433\u043d\u0430\u043d\u043d\u044b\u0439 \u0434\u043e 1.4 \u0413\u0413\u0446 \u043d\u0430 \u044f\u0434\u0440\u043e) \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445.<br \/>\n<!--more--><br \/>\nNape \u0431\u044b\u043b \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0435 \u0438 \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0432 \u043c\u043e\u0451\u043c \u0441\u043b\u0443\u0447\u0430\u0435.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u0441 <strong>1000 \u043a\u043e\u0440\u043e\u0431\u043e\u043a<\/strong> \u043d\u0430 <strong>\u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0435<\/strong> (30 FPS \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c):<br \/>\n<strong>Nape:<\/strong> 17-19 FPS \u0432 \u043d\u0430\u0447\u0430\u043b\u0435, ~30 FPS \u043f\u043e\u0441\u043b\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u0435 \u043a\u043e\u0440\u043e\u0431\u043e\u043a.<br \/>\n<strong>Box2D:<\/strong> 2-3 FPS \u0432 \u043d\u0430\u0447\u0430\u043b\u0435, 4-6 FPS \u043f\u043e\u0441\u043b\u0435 \u043f\u0430\u0434\u0435\u043d\u0438\u044f.<\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u044d\u0442\u0438 \u0442\u0435\u0441\u0442\u044b \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e:<br \/>\n<a href=\"http:\/\/codestage.ru\/files\/flood\/physics\/phisycs_nape.swf\" target=\"_blank\" rel=\"noopener noreferrer\">Nape<\/a> | <a href=\"http:\/\/codestage.ru\/files\/flood\/physics\/phisycs_wck.swf\" target=\"_blank\" rel=\"noopener noreferrer\">WCK<\/a><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0439 \u0441\u043e <strong>100 \u043a\u043e\u0440\u043e\u0431\u043a\u0430\u043c\u0438<\/strong> \u043d\u0430 <strong>\u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435<\/strong> (GPU renderMode, 30 FPS \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c):<br \/>\n<strong>Nape:<\/strong> 30 FPS.<br \/>\n<strong>Box2D:<\/strong> ~14 FPS.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0436\u0435\u043b\u0430\u0435\u0442\u0435, \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0434\u0432\u0438\u0436\u043a\u043e\u0432:<br \/>\n<a href=\"http:\/\/codestage.ru\/files\/flood\/physics\/phisycs.7z\" target=\"_blank\" rel=\"noopener noreferrer\">FlashDevelop \u043f\u0440\u043e\u0435\u043a\u0442<\/a> (\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435 Document class \u043c\u0435\u0436\u0434\u0443 MainNape.as and MainWCK.as \u0438 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0447\u0442\u0438\u0442\u0435 *readme.txt).<\/p>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f, \u0441\u0434\u0435\u043b\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 iOS (iPad).<\/p>\n<p><strong>\u041e\u0411\u041d\u041e\u0412\u041b\u0415\u041d\u0418\u0415<\/strong><br \/>\n\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043d\u0430 iPad \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u0438\u0435 \u0436\u0435, \u043a\u0430\u043a \u0438 \u043d\u0430 Android.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nape: 6.1 r49 Release \u0434\u043b\u044f FP 10+ (\u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e haXe) Box2D (Alchemy, WCK): \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0431\u0438\u043b\u0434 \u0438\u0437 GitHub (\u043d\u0430 09.11.11, \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Alchemy) Flash Player: 11.0.1.152 Release 32 Bit Standalone (Projector) &#8212; \u0414\u0435\u0441\u043a\u0442\u043e\u043f AIR: 3.0 &#8212; \u041c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u042f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u0442\u0438 \u0434\u0432\u0438\u0436\u043a\u0438 \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0439 (Win 7, Core i7 Q740, 1.73 \u0413\u0413\u0446 \u043d\u0430 \u044f\u0434\u0440\u043e, 16 \u0413\u0411 DDR3-1333 \u041c\u0413\u0446) \u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 &hellip; <a class=\"more-link\" href=\"http:\/\/blog.codestage.ru\/ru\/2011\/11\/09\/2dphysics\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[29,31,32,33,35,30,34],"_links":{"self":[{"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/posts\/360"}],"collection":[{"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/comments?post=360"}],"version-history":[{"count":6,"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/posts\/360\/revisions"}],"predecessor-version":[{"id":890,"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/posts\/360\/revisions\/890"}],"wp:attachment":[{"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/media?parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/categories?post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.codestage.ru\/ru\/wp-json\/wp\/v2\/tags?post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}