# AStar_TypeSript_CocosCreator **Repository Path**: iamgaowei/astar_-type-sript_-cocos-creator ## Basic Information - **Project Name**: AStar_TypeSript_CocosCreator - **Description**: 一个基于cocos creator 2.4.2的a*算法+JPS算法对比演示程序 - **Primary Language**: TypeScript - **License**: MulanPSL-1.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 10 - **Forks**: 14 - **Created**: 2020-12-07 - **Last Updated**: 2024-03-22 ## Categories & Tags **Categories**: mathlibs **Tags**: None ## README # A*和JPS(跳点寻路)算法演示 ### 基于cocos creator+typescrpit ### 运行方式 #### ide cocos creator 2.4.2可运行项目 #### 演示代码切换 * Helloworl.ts ```javascript start() { this.debugAvgTime = 0; this.debugCount = 0; this.debugTotalTime = 0; // this.jps(); //打开注释运行jps演示 \ this.astat(); //打开注释运行a*演示 \ } ``` ### 使用权利 任意使用,如果有bug或者更优化的算法,欢迎留言