生命计数修改为2
This commit is contained in:
parent
4ad93dd91b
commit
5f6c155b3a
2
index.js
2
index.js
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user