forked from MarseyWorld/MarseyWorld
fix stab award again
parent
ef26bc5d27
commit
7cd7a6c668
|
@ -1,3 +1,3 @@
|
||||||
canvas.sketch {
|
canvas.sketch {
|
||||||
opacity: calc(0.1*{{ stab }});
|
opacity: 0.1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ const stabs = document.getElementById('stabs').value
|
||||||
|
|
||||||
let blood = Sketch.create({autoclear: false, autopause: false}),
|
let blood = Sketch.create({autoclear: false, autopause: false}),
|
||||||
drops = [],
|
drops = [],
|
||||||
dropCount = stabs*2,
|
dropCount = stabs*4,
|
||||||
maxDrops = dropCount+1,
|
maxDrops = dropCount+1,
|
||||||
Drop = function() {
|
Drop = function() {
|
||||||
this.x = random(0,blood.width);
|
this.x = random(0,blood.width);
|
||||||
|
|
Loading…
Reference in New Issue