Skip to content

Commit

Permalink
Document selections; add shift key as default control.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Jul 19, 2012
1 parent 8cb96f9 commit a557b77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions cubes.html
Expand Up @@ -326,19 +326,23 @@ <h3>Controls</h3>
<tr><td>Right button in menu<td> edit clicked block <tr><td>Right button in menu<td> edit clicked block
<tr><td><kbd>Esc</kbd>, <kbd>F</kbd><td> exit block editing <tr><td><kbd>Esc</kbd>, <kbd>F</kbd><td> exit block editing
<tr><td><kbd>B</kbd><td> edit blockset, block properties <tr><td><kbd>B</kbd><td> edit blockset, block properties
<tr><th colspan=2>Other editing
<tr><td>Middle button, Shift<td> drag selection
</table> </table>


<p>Click “Edit blockset” in the block menu or press <kbd>B</kbd> to bring up a menu for editing the blockset.</p> <p>Click “Edit blockset” in the block menu or press <kbd>B</kbd> to bring up a menu for editing the blockset.</p>


<p>While you can edit any block to any shape, note that making the first block type (which makes up the underground volume in the default world) a non-cubical shape will likely be fatal to your frame rate.</p> <p>While you can edit any block to any shape, note that making the first block type (which makes up the underground volume in the default world) a non-cubical shape will likely be fatal to your frame rate.</p>


<p>By holding down the selection key you can drag out a selection box; operations on the selection can be performed using the chip which appears at its top left. The available operations are not very extensive at the moment.</p>

<h3>Compatibility &amp; Bugs</h3> <h3>Compatibility &amp; Bugs</h3>


<p>Player movement does not work on Safari 5.1.</p> <p>Not compatible with Safari 5.1 due to lack of full ECMAScript 5 support.</p>


<p>On an older MacBook Pro with 10.7 “Lion”, the terrain may be entirely white and the game may crash (exiting the browser in Firefox, a permanently gray screen in Chrome).</p> <p>On an older MacBook Pro with 10.7 “Lion”, the terrain may be entirely white and the game may crash (exiting the browser in Firefox, a permanently gray screen in Chrome). In general, Cubes has not been tested across a broad range of graphics hardware and may have missing graphics, such as the terrain or sky being entirely white.</p>


<p>Editing block properties does not cause the blockset to be saved to permanent storage. Editing the circuit behaviors can cause the game to enter inconsistent states.</p> <p>Editing the circuit behaviors can cause the game to enter inconsistent states. Circular connections in circuits result in indeterminate behavior.</p>
</div> </div>


</body></html> </body></html>
2 changes: 1 addition & 1 deletion input.js
Expand Up @@ -1116,7 +1116,7 @@
} }
defcmd("useTool" , "Place block", [["mouse", 1]], 1/4); // TODO derive from movement speed defcmd("useTool" , "Place block", [["mouse", 1]], 1/4); // TODO derive from movement speed
defcmd("deleteBlock", "Delete block", [["mouse", 0]], 1/4); defcmd("deleteBlock", "Delete block", [["mouse", 0]], 1/4);
defcmd("select", "Place selection", [["mouse", 2]]); // TODO should probably not be a separate button-assignment...? defcmd("select", "Place selection", [["mouse", 2], ["key", 16]]); // TODO should probably be a tool instead, or a modifier-click
defcmd("left" , "Left" , [["key", "A".charCodeAt(0)], ["key", 37]]); defcmd("left" , "Left" , [["key", "A".charCodeAt(0)], ["key", 37]]);
defcmd("right" , "Right" , [["key", "D".charCodeAt(0)], ["key", 39]]); defcmd("right" , "Right" , [["key", "D".charCodeAt(0)], ["key", 39]]);
defcmd("forward" , "Forward" , [["key", "W".charCodeAt(0)], ["key", 38]]); defcmd("forward" , "Forward" , [["key", "W".charCodeAt(0)], ["key", 38]]);
Expand Down

0 comments on commit a557b77

Please sign in to comment.