{"id":107,"date":"2023-09-14T10:16:29","date_gmt":"2023-09-14T02:16:29","guid":{"rendered":"https:\/\/edu.circuspi.com\/?p=107"},"modified":"2023-10-19T15:47:28","modified_gmt":"2023-10-19T07:47:28","slug":"9-4-1-%e8%bf%bd%e8%91%97%e7%8e%a9%e5%ae%b6%e8%b7%91","status":"publish","type":"post","link":"https:\/\/edu.circuspi.com\/index.php\/zh\/gamebit\/9-4-1-%e8%bf%bd%e8%91%97%e7%8e%a9%e5%ae%b6%e8%b7%91\/","title":{"rendered":"9.4.1 \u8ffd\u8457\u73a9\u5bb6\u8dd1"},"content":{"rendered":"\n<p>\u9084\u6c92\u958b\u59cb\u8aaa\u660e\u524d\uff0c\u5927\u5bb6\u53ef\u80fd\u5df2\u7d93\u5148\u601d\u8003\u904e\u4e86\uff0c\u65e2\u7136\u8981\u8ffd\u8457\u73a9\u5bb6\u7684\u89d2\u8272\u8dd1\uff0c\u662f\u4e0d\u662f\u5f97\u8981\u5148\u77e5\u9053\u300c<strong>\u73a9\u5bb6\u89d2\u8272\u7684\u5ea7\u6a19<\/strong>\u300d\u9084\u6709\u300c<strong>\u53cd\u6d3e\u81ea\u5df1\u7684\u5ea7\u6a19<\/strong>\u300d\uff0c\u6700\u5f8c\u8a08\u7b97\u6700\u77ed\u8ddd\u96e2\u7684\u89d2\u5ea6\uff0c\u7136\u5f8c\u8ffd\u64ca\u5462\uff1f<\/p>\n\n\n\n<p>\u4e0d\u4e0d\u4e0d\uff0c\u96d6\u7136\u5c31\u7406\u8ad6\u4e0a\u4f86\u8aaa\u6c92\u932f\uff0c\u4f46\u5be6\u969b\u64cd\u4f5c\u4e0d\u7528\u9019\u9ebc\u8907\u96dc\uff0cMakeCode Arcade \u5df2\u7d93\u5e6b\u6211\u5011\u60f3\u597d\u4e86\u3002<\/p>\n\n\n\n<p>\u8b93\u6211\u5011\u9ede\u958b\u300c<strong>\u89d2\u8272<\/strong>\u300d\uff0c\u53ef\u4ee5\u5728\u6e05\u55ae\u5167\u7684\u300c<strong>\u7269\u7406 ( Physics )<\/strong>\u300d\u7cfb\u5217\u7576\u4e2d\uff0c\u767c\u73fe\u300c<strong>\u89d2\u8272 ( myEnemy ) \u8ddf\u96a8\u89d2\u8272 ( mySprite )<\/strong>\u300d\u9019\u500b\u7a4d\u6728\u7a0b\u5f0f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"403\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2023\/09\/09-4-1_01.png\" alt=\"\" class=\"wp-image-456\"\/><\/figure>\n\n\n\n<p>\u8acb\u5c07\u9019\u500b\u7a4d\u6728\u7a0b\u5f0f\u540c\u6a23\u62d6\u62c9\u5230\u300c<strong>\u7576\u555f\u52d5\u6642<\/strong>\u300d\u5167\uff0c\u7136\u5f8c\u9ede\u9078\u7a4d\u6728\u7a0b\u5f0f\u5f8c\u65b9\u7684\u300c<strong>+<\/strong>\u300d\u865f\uff0c\u53ef\u4ee5\u770b\u5230\u300c<strong>\u901f\u5ea6<\/strong>\u300d\u8a2d\u5b9a\u7684\u6b04\u4f4d\u3002\u9810\u8a2d\u7684 100 \u6703\u662f\u8ddf\u73a9\u5bb6\u4e00\u6a23\u7684\u901f\u5ea6\uff0c\u9019\u500b\u901f\u5ea6\u4e0b\u904a\u73a9\u7684\u96e3\u5ea6\u53ef\u662f\u76f8\u7576\u9ad8\u5440\uff01\u7728\u500b\u773c\u5c31\u6703\u88ab\u8ffd\u4e0a\u4e86\uff0c\u6240\u4ee5\u8acb\u6539\u6210\u8f03\u4f4e\u7684\u6578\u5b57\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"619\" height=\"316\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2023\/09\/09-4-1_02.png\" alt=\"\" class=\"wp-image-457\"\/><\/figure>\n\n\n\n<p>\u53ef\u4ee5\u8a2d\u5b9a\u5f8c\u7528\u300c<strong>\u904a\u6232\u6a21\u64ec\u5668<\/strong>\u300d\u6e2c\u8a66\u770b\u770b\uff0c\u53cd\u8986\u8abf\u6574\u6210\u81ea\u5df1\u89ba\u5f97\u5408\u9069\u7684\u901f\u5ea6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"437\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2023\/09\/09-4-1_03.gif\" alt=\"\" class=\"wp-image-458\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u9084\u6c92\u958b\u59cb\u8aaa\u660e\u524d\uff0c\u5927\u5bb6\u53ef\u80fd\u5df2\u7d93\u5148\u601d\u8003\u904e\u4e86\uff0c\u65e2\u7136\u8981\u8ffd\u8457\u73a9\u5bb6\u7684\u89d2\u8272\u8dd1\uff0c\u662f\u4e0d\u662f\u5f97\u8981\u5148\u77e5\u9053\u300c\u73a9\u5bb6\u89d2\u8272\u7684\u5ea7\u6a19\u300d\u9084\u6709\u300c\u53cd\u6d3e\u81ea [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":458,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,8],"tags":[],"table_tags":[],"class_list":{"0":"post-107","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-gamebit","8":"category-freeinfo","9":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":2,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/107\/revisions\/471"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/458"}],"wp:attachment":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=107"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}