function activeShield() {
var shield = new Sprite(textureShield);
activeBumpHit = true;
shield.width = 155;
shield.height = 155;
shield.y = gopnik.y - 680;
arrShield.push(shield);
gopnik.addChild(shield);
}
document.addEventListener('keydown', function (e) {
if (e.keyCode === 83 && arrShield.length < 1) {
activeShield();
console.log(activeBumpHit);
}
});