生命计数修改为2

This commit is contained in:
mumuy 2016-04-21 20:52:33 +08:00
parent 4ad93dd91b
commit 5f6c155b3a

View File

@ -287,7 +287,7 @@
width:30, width:30,
height:30, height:30,
draw:function(context){ draw:function(context){
for(var i=0;i<_LIFE;i++){ for(var i=0;i<_LIFE-1;i++){
var x=this.x+36*i,y=this.y; var x=this.x+36*i,y=this.y;
context.fillStyle = '#FFE600'; context.fillStyle = '#FFE600';
context.beginPath(); context.beginPath();