Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 90 bytes modified
parent
01c61703cf
commit
d7c6ebd0d2
|
@ -43,6 +43,8 @@ GameLib.CustomCode.ANIMATION_SPEED_GRAIN = 0.2;
|
|||
GameLib.CustomCode.MIN_ANIMATION_SPEED = 2;
|
||||
GameLib.CustomCode.MAX_ANIMATION_SPEED = 10;
|
||||
|
||||
GameLib.CustomCode.SPEED_INCREASE_INTERVAL = 2;
|
||||
|
||||
GameLib.CustomCode.FOOD_BACON = 0;
|
||||
GameLib.CustomCode.FOOD_CHEESE = 1;
|
||||
GameLib.CustomCode.FOOD_ONION = 2;
|
||||
|
@ -155,6 +157,7 @@ this.nextPowerupTime = GameLib.Utils.GetRandomIntInclusive(
|
|||
this.powerups = [];
|
||||
|
||||
this.explodeTime = 0;
|
||||
this.speedTimer = 0;
|
||||
|
||||
/**
|
||||
* Orientation is 0, 1, 2 or 3, (up, left, down, right) -
|
||||
|
@ -1746,6 +1749,7 @@ GameLib.Event.Subscribe(
|
|||
);
|
||||
|
||||
this.explodeTime = 0;
|
||||
this.speedTimer = 0;
|
||||
|
||||
/**
|
||||
* Re-initialize our other custom code components
|
||||
|
|
Loading…
Reference in New Issue