This commit is contained in:
landgreen
2019-09-06 06:00:19 -07:00
parent 09948d49f8
commit 1d480d8243
2 changed files with 9 additions and 2 deletions

View File

@@ -223,7 +223,7 @@ const level = {
game.makeTextLog(
// "<br><br><br><br><div class='wrapper'> <div class = 'grid-box'><strong>right mouse / space bar:</strong><br>pick up things</div> <div class = 'grid-box'> <span class = 'mouse'><span class='mouse-line'></span></span> </div></div>",
"<strong>right mouse / space bar</strong>: pick up things",
"Use <strong>right mouse</strong> or <strong>space bar</strong> to pick up things.",
Infinity
);
level.fill.push({

View File

@@ -106,9 +106,16 @@ const powerUps = {
b.activeGun = newGun //if no active gun switch to new gun
game.makeTextLog(
// "<br><br><br><br><div class='wrapper'> <div class = 'grid-box'><strong>left mouse</strong>: fire weapon</div> <div class = 'grid-box'> <span class = 'mouse'><span class='mouse-line'></span></span> </div></div>",
"<strong>left mouse</strong>: fire weapon",
"Use <strong>left mouse</strong> to fire weapon.",
Infinity
);
}
if (b.inventory.length === 1) {
game.makeTextLog(
// "<div style='font-size:120%;' >new gun: " + b.guns[newGun].name + "</div><span class = 'box'>E</span> / <span class = 'box'>Q</span>",
"<div style='font-size:120%;' >new gun: " + b.guns[newGun].name + "</div> <br> Use <strong>Q</strong>, <strong>E</strong>, or <strong>mouse wheel</strong> to change weapons.",
360
);
} else {
game.makeTextLog(
// "<div style='font-size:120%;' >new gun: " + b.guns[newGun].name + "</div><span class = 'box'>E</span> / <span class = 'box'>Q</span>",