From cde9f0bd3a024486a6506131ebf0d7b20406c7fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=B5=A9=E4=B9=90?= Date: Wed, 13 Jan 2016 00:11:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E8=89=B2=E6=96=B9=E6=A1=88=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 尊重原版 --- index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index b34acb3..7971e09 100644 --- a/index.js +++ b/index.js @@ -35,7 +35,7 @@ ], _COS = [1,0,-1,0], _SIN = [0,1,0,-1], - _COLOR = ['#F00','#F60','#3C6','#69F'], + _COLOR = ['#F00','#F93','#0CF','#F9C'],//红,橙, _LIFE = 3, _SCORE = 0; //得分 @@ -59,7 +59,7 @@ height:100, frames:10, draw:function(context){ - context.fillStyle = '#FC3'; + context.fillStyle = '#FFE600'; context.beginPath(); if(this.times%2){ context.arc(this.x,this.y,this.width/2,.20*Math.PI,1.80*Math.PI,false); @@ -232,7 +232,7 @@ for(var i=0; i