Difference between revisions of "Control Reference"

From Wolfire Games Wiki
Jump to: navigation, search
(Object Creation)
Line 59: Line 59:
  
 
=Object Creation=
 
=Object Creation=
 
= Camera Movement=
 
  
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"

Revision as of 16:55, 10 May 2010

'Cmd' refers to the '⌘' key on Macs, and the 'Ctrl' key on PCs.

See the original blog post.

Camera Movement

Control Behavior
Forward 'w' Moves camera forward.
Backward 's' Moves camera backward.
Left 'a' Moves camera left.
Right 'd' Moves camera right.
Up shift + 'w' Moves camera up.
Down shift + 's' Moves camera down.


Tool/Mode Selection

Control Behavior
Translate Click 'translate' button or press '4' Sets tool to translate tool. When hovering over a selected object, cursor will indicate the currently chosen tool.
Scale Click 'scale' button or press '5' Sets tool to scale tool.
Rotate Click 'rotate' button or press '6' Sets tool to rotate tool.
Paintbrush Click 'paintbrush' button or press '3' Sets tool to paintbrush tool.
Omni press '7' Sets tool to omni tool. he omni tool combines the translation, scale, and rotate tools. See 'Transformation' section for details on how the omni tool decides which of its states to act in.
Game mode press '8' Sends in Rabbot!
Editor mode press '9' Back to editor mode.

Object Creation

Control Behavior
Load Object cmd-l (or click 'load' button) + left-mouse-click Opens up a dialogue box in which the user may specify an xml file containing object data (anything in "./Data/Objects" or "./Data/Levels"). Places selected objects in scene, centered at mouse click.
Copy Objects cmd-c Copies all selected objects (and their relative placement) into a copy buffer.
Paste Objects cmd-v Adds to scene all objects in the copy buffer. Centers objects at mouse location.
Paintbrush Set tool to 'paintbrush' + hold 'p' + left-click-and-drag Quickly adds semi-randomized objects to the scene, centered about mouse location. Let go of 'b' to move camera. Control paintbrush properties with sliders and checkboxes in the 'Misc' UI panel. More info here.

Object Selection

Transformations

Grouping

Control Behavior
Group objects cmd-g All selected objects and groups are joined into a new group. Groups are hierarchical, so grouped groups are treated as subgroups. Objects in a group are selected as a unit and transform as a unit.
Ungroup objects cmd-shift-g All selected groups are disbanded at their outermost level.

Undo/Redo

Control Behavior
Undo action cmd-z Undoes the last completed action.
Redo action cmd-shift-z Redoes the last undone action. Redo-able actions are cleared whenever the user completes a new action..

Object Removal

Control Behavior
Delete object delete or backspace Deletes all selected objects

Saving

Control Behavior
Auto-save Automatic Every 30 seconds or so the program automatically saves the entire level to the file "./Data/Levels/autosave.xml".
Save level cmd-s Saves entire level to the same path as the level was opened from, overwriting the old level file.
Save selected objects cmd-shift-s Saves-as all selected objects to a path specified by the user in a dialogue box.