cocos creator 实现A*寻路

上传者: 41316824 | 上传时间: 2023-08-25 23:09:49 | 文件大小: 729KB | 文件类型: RAR
使用javascript在cocos creator上实现了A*寻路算法,使用方块格表示起始点以及障碍路径等,动态调整行列数,障碍物密度,初始点坐标,实现鼠标点击计算起始点到点击位置方块的路径。

文件下载

资源详情

[{"title":"( 260 个子文件 729KB ) cocos creator 实现A*寻路","children":[{"title":"game.fire <span style='color:#111;'> 24.36KB </span>","children":null,"spread":false},{"title":"game.fire <span style='color:#111;'> 24.36KB </span>","children":null,"spread":false},{"title":"helloworld.fire <span style='color:#111;'> 6.62KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"5cfb6608-0bb0-4989-8252-67d15d03b02b.jpg <span style='color:#111;'> 35.53KB </span>","children":null,"spread":false},{"title":"bg.jpg <span style='color:#111;'> 35.53KB </span>","children":null,"spread":false},{"title":"AStartMath.js <span style='color:#111;'> 11.17KB </span>","children":null,"spread":false},{"title":"AStartMath.js <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"060d5bd3-2fd5-4fad-aada-c34271ad8570.js <span style='color:#111;'> 10.49KB </span>","children":null,"spread":false},{"title":"MapItemManager.js <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"dictionary.js <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"NavMeshAgent.js <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"List.js <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"d8c9b4b6-5cc1-4efa-997f-bf274136013d.js <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"AStartTest.js <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"MapItemManager.js <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"dictionary.js <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"PrefabUtils.js <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"8d39c272-3191-4b7f-a4dc-b55b7c2ad7a2.js <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"List.js <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"32a23110-7b77-4a17-a4e7-2ca4d4dcffb1.js <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"7f4283a1-33d8-4c7d-a659-5294960ba52b.js <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"NavMeshAgent.js <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"Point.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"425945fb-e8c6-435d-8fb1-25083c3d0149.js <span style='color:#111;'> 1019B </span>","children":null,"spread":false},{"title":"201f4022-fdae-4ea3-a2d1-45316c1a35ba.js <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"AStartTest.js <span style='color:#111;'> 891B </span>","children":null,"spread":false},{"title":"PrefabUtils.js <span style='color:#111;'> 826B </span>","children":null,"spread":false},{"title":"6936221a-2bd6-4004-87e4-3a09096f7b85.js <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"Point.js <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"4e2f90fd-7c99-4e92-974c-df99fb35f7ae.json <span style='color:#111;'> 24.40KB </span>","children":null,"spread":false},{"title":"d237c7fb-a38d-4926-aad7-99774c7a1ce1.json <span style='color:#111;'> 21.77KB </span>","children":null,"spread":false},{"title":"bf0a434c-84dd-4a8e-a08a-7a36f180cc75.json <span style='color:#111;'> 18.23KB </span>","children":null,"spread":false},{"title":"d1b8be49-b0a0-435c-83b7-552bed4bbe35.json <span style='color:#111;'> 18.07KB </span>","children":null,"spread":false},{"title":"ca8401fe-ad6e-41a8-bd46-8e3e4e9945be.json <span style='color:#111;'> 13.21KB </span>","children":null,"spread":false},{"title":"32044bd2-481f-4cf1-a656-e2b2fb1594eb.json <span style='color:#111;'> 10.61KB </span>","children":null,"spread":false},{"title":"uuid-to-mtime.json <span style='color:#111;'> 9.24KB </span>","children":null,"spread":false},{"title":"2d2f792f-a40c-49bb-a189-ed176a246e49.json <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"0004d1cf-a0ad-47d8-ab17-34d3db9d35a3.json <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"0d784963-d024-4ea6-a7db-03be0ad63010.json <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"972b9a4d-47ee-4c74-b5c3-61d8a69bc29f.json <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"5965ffac-69da-4b55-bcde-9225d0613c28.json <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"cd33edea-55f5-46c2-958d-357a01384a36.json <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"layout.windows.json <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"785a442c-3ceb-45be-a46e-7317f625f3b9.json <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"61aeb05b-3b32-452b-8eed-2b76deeed554.json <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"1f55e3be-b89b-4b79-88de-47fd31018044.json <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"96083d03-c332-4a3f-9386-d03e2d19e8ee.json <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"assets.json <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"232d2782-c4bd-4bb4-9e01-909f03d6d3b9.json <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"4a37dd57-78cd-4cec-aad4-f11a73d12b63.json <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"27756ebb-3d33-44b0-9b96-e858fadd4dd4.json <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"2c937608-2562-40ea-b264-7395df6f0cea.json <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"8c5001fd-07ee-4a4b-a8a0-63e15195e94d.json <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"7de03a80-4457-438d-95a7-3e7cdffd6086.json <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"project.json <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"launch.json <span style='color:#111;'> 471B </span>","children":null,"spread":false},{"title":"5fe5dcaa-b513-4dc5-a166-573627b3a159.json <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"5c3bb932-6c3c-468f-88a9-c8c61d458641.json <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"c9fa51ff-3f01-4601-8f80-325d1b11dab7.json <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"88e79fd5-96b4-4a77-a1f4-312467171014.json <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"29158224-f8dd-4661-a796-1ffab537140e.json <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"e9ec654c-97a2-4787-9325-e6a10375219a.json <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"67e68bc9-dad5-4ad9-a2d8-7e03d458e32f.json <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"31d8962d-babb-4ec7-be19-8e9f54a4ea99.json <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"f0048c10-f03e-4c97-b9d3-3506e1d58952.json <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"9bbda31e-ad49-43c9-aaf2-f7d9896bac69.json <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"90004ad6-2f6d-40e1-93ef-b714375c6f06.json <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"e7aba14b-f956-4480-b254-8d57832e273f.json <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":"7168db62-0edc-42e5-be5d-682cf6c4a165.json <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"1a32fc76-f0bd-4f66-980f-56929c0ca0b3.json <span style='color:#111;'> 310B </span>","children":null,"spread":false},{"title":"7d4ffd94-42d6-4045-9db7-a744229adfc4.json <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"6827ca32-0107-4552-bab2-dfb31799bb44.json <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"builder.json <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"a23235d1-15db-4b95-8439-a2e005bfff91.json <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"8cdb44ac-a3f6-449f-b354-7cd48cf84061.json <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"0e010b55-1845-429d-b348-23136190b9e5.json <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"jsconfig.json <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"builder.panel.json <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"hierarchy.json <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"b8223619-7e38-47c4-841f-9160c232495a.json <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"b2687ac4-099e-403c-a192-ff477686f4f5.json <span style='color:#111;'> 115B </span>","children":null,"spread":false},{"title":"template.json <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"2be36297-9abb-4fee-8049-9ed5e271da8a.json <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"local.json <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"project.json <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"node-library.json <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"0291c134-b3da-4098-b7b5-e397edbe947f.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"d6d3ca85-4681-47c1-b5dd-d036a9d39ea2.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"0275e94c-56a7-410f-bd1a-fc7483f7d14a.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"99170b0b-d210-46f1-b213-7d9e3f23098a.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"9d60001f-b5f4-4726-a629-2659e3ded0b8.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"617323dd-11f4-4dd3-8eec-0caf6b3b45b9.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"6e056173-d285-473c-b206-40a7fff5386e.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"567dcd80-8bf4-4535-8a5a-313f1caf078a.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"5cfb6608-0bb0-4989-8252-67d15d03b02b.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"d29077ba-1627-4a72-9579-7b56a235340c.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"71561142-4c83-4933-afca-cb7a17f67053.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明