Merge branch 'master' of https://github.com/rsninja722/LudemDare46
This commit is contained in:
commit
848f80b4ba
BIN
docs/.jekyll-metadata
Normal file
BIN
docs/.jekyll-metadata
Normal file
Binary file not shown.
@ -17,12 +17,9 @@ let currentBreathMode = breathMode.exhale;
|
|||||||
|
|
||||||
function updateLife() {
|
function updateLife() {
|
||||||
|
|
||||||
if(keyDown[k.w]) {
|
if(keyDown[k.z]) {
|
||||||
if(breath === 0) currentBreathMode = breathMode.inhale;
|
if(breath === 0) currentBreathMode = breathMode.inhale;
|
||||||
}
|
else if(breath === constants.lifeFuncs.breath.fullBreath) currentBreathMode = breathMode.exhale;
|
||||||
|
|
||||||
if(keyDown[k.s]) {
|
|
||||||
if(breath === constants.lifeFuncs.breath.fullBreath) currentBreathMode = breathMode.exhale;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
breathe();
|
breathe();
|
||||||
@ -31,7 +28,7 @@ function updateLife() {
|
|||||||
heartbeat();
|
heartbeat();
|
||||||
}
|
}
|
||||||
|
|
||||||
pressure-=0.25;
|
pressure-=0.1;
|
||||||
if(pressure<=0){
|
if(pressure<=0){
|
||||||
pressure = 0;
|
pressure = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user