摘要: pixijs层级另类写法 const app = new PIXI.Application({ width: 750, height: 1206, transparent: true, forceCanvas: true }); document.body.appendChild(app.view) 阅读全文
posted @ 2022-05-11 17:04 newmiracle宇宙 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 我用了box2dweb 和matterjs 写了多边形 碰撞 box2dweb刚体穿透率特别高 设置了子弹 也一样穿透 matterjs就很稳 所以建议选择matterjs matterjs文档也丰富 box2dweb没文档。。 阅读全文
posted @ 2022-05-11 11:19 newmiracle宇宙 阅读(94) 评论(0) 推荐(0) 编辑