摘要: function Bird(imgArr, x, y){ this.imgArr = imgArr; this.x = x; this.y = y; this.idx = parseInt(Math.random() * this.imgArr.length); this.img = this.im 阅读全文
posted @ 2018-01-20 11:31 ︶ㄣ鳯躌氷瀚 阅读(135) 评论(0) 推荐(0)
摘要: // 旋转 this.ctx.rotate(30 * (Math.PI / 180)); 阅读全文
posted @ 2018-01-20 11:18 ︶ㄣ鳯躌氷瀚 阅读(1183) 评论(0) 推荐(0)