Reset variables for presentation.

This commit is contained in:
Robbie Antenesse 2016-04-11 16:30:39 -06:00
parent 3816805784
commit aac13ca552
3 changed files with 15 additions and 2 deletions

View File

@ -2,7 +2,7 @@ function inventoryGUI() {
guiControl.inventory = { guiControl.inventory = {
screen: "main", screen: "main",
cursorPosition: 0, cursorPosition: 0,
show: true, show: false,
moneyDisplay: function () { moneyDisplay: function () {
var moneyString = ""; var moneyString = "";

View File

@ -48,6 +48,7 @@
<h2> <h2>
<a id="controls" class="anchor" href="#controls" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Controls</h2> <a id="controls" class="anchor" href="#controls" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Controls</h2>
<strong>In-Game Controls</strong>
<ul> <ul>
<li>Turn Left: <code></code> or <code>A</code> <li>Turn Left: <code></code> or <code>A</code>
</li> </li>
@ -57,6 +58,18 @@
</li> </li>
<li>Decrease Speed: <code></code> or <code>S</code> <li>Decrease Speed: <code></code> or <code>S</code>
</li> </li>
<li>Open Storage/Inventory: <code>X</code> or <code>Shift</code>
</li>
</ul>
<strong>Menu Controls</strong>
<ul>
<li>Move Cursor Up: <code></code> or <code>W</code>
</li>
<li>Move Cursor Down: <code></code> or <code>S</code>
</li>
<li>Select Option in Menu: <code>Z</code> or <code>Space</code>
</li>
</ul> </ul>
<h2> <h2>

View File

@ -41,7 +41,7 @@ G.stats = {
crew: 2, // How many crew members you have. Influences how fast your energy recovers. crew: 2, // How many crew members you have. Influences how fast your energy recovers.
energy: 25, // Drains rate determined by current speed. When drained, currentSpeed reduces until you have enough energy to continue. energy: 25, // Drains rate determined by current speed. When drained, currentSpeed reduces until you have enough energy to continue.
maxEnergy: 50, // How much to refill your energy to. Can increase with upgrades. maxEnergy: 50, // How much to refill your energy to. Can increase with upgrades.
illness: 1 // Your crew's overall health. When this is low, your ship slows down. illness: 0 // Your crew's overall health. When this is low, your ship slows down.
}; };
G.economy = { // Aww yea, supply and demand. G.economy = { // Aww yea, supply and demand.