摘要: pixijs做粒子拖尾效果 <script type="text/javascript"> const app = new PIXI.Application({ backgroundColor: 0x1099bb }); document.body.appendChild(app.view); le 阅读全文
posted @ 2020-10-22 17:47 newmiracle宇宙 阅读(1039) 评论(0) 推荐(0)
摘要: javascript多边形碰撞检测 原理就是 循环每个顶点判断是不是在多边形内 const app = new PIXI.Application({ antialias: true }); document.body.appendChild(app.view); const graphics = n 阅读全文
posted @ 2020-10-22 15:55 newmiracle宇宙 阅读(489) 评论(0) 推荐(0)
摘要: css3 简单的玻璃扫光效果 .ss { display: block; width: 800px; height: 370px; position: absolute; background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(255, 25 阅读全文
posted @ 2020-10-22 11:12 newmiracle宇宙 阅读(1007) 评论(0) 推荐(0)