1. 首页
  2. 数据库
  3. 其它
  4. arcade polygons plugin:Phaser中用于街机物理的多边形 源码

arcade polygons plugin:Phaser中用于街机物理的多边形 源码

上传者: 2021-02-19 01:24:06上传 ZIP文件 57.98KB 热度 14次
街机多边形插件 该插件将允许您向游戏中添加静态多边形,这些多边形将与精灵和组碰撞。 入门 1.将插件添加到游戏中,并在create方法中启用街机物理 // other code create : function ( ) { this . game . plugins . add ( Phaser . Plugin . ArcadePolygons ) this . physics . startSystem ( Phaser . Physics . Arcade ) // Create sprites and polygons below } , // other
下载地址
用户评论