Controls

From TUG wiki - The central hub for all information regarding TUG
Jump to: navigation, search
Out of date clock pn.png This article has been marked as out of date: the information on this page may or may not match the way the current version of the game works. You can help the TUG wiki by verifying the information in this article, and updating it as needed.

The game controls are the keyboard and mouse actions that allow you to control what your Seed does in TUG, in the game world and in the interface menus and windows. You can also use text commands in the chat console to affect your game settings, change time, and create ("spawn") game items. (See the commands article for details.)

The Survival and Creative game modes allow players to focus on different aspects of play: danger, or building. Most of the basic controls are the same, but there are some that only apply to one mode or the other. The mode-specific controls are listed in their own sections.

Most of the control key bindings can be changed in the game's main menu via Options > Input. It's also possible to manually alter the keybinds.txt file inside the TUG data folders. Note that the settings section still lists many obsolete controls: using those keys will do nothing.

The following lists show the controls at their default settings.

All Modes[edit]

These controls apply in all game modes.

View[edit]

These controls apply in all modes.

Action Control
Turn (Pan) Left Mouse Left
Turn (Pan) Right Mouse Right
Look Up Mouse Up
Look Down Mouse Down
Toggle 1st / 3rd Person View X

Note: Most actions do nothing in 3rd person view.

Movement[edit]

These controls apply in all modes.

See the section on Creative mode movement for controlling flight.

Action Control
Move Forward W
Move Back S
Move Left A
Move Right D
Run modifier Shift + W, S, A, D
Jump Space
Toggle Crouch Mode C

User Interface / Windows[edit]

Basic[edit]

Action Control
Access Main Menu Esc
Open/Close Inventory Window E
Open/Close Chat Console Enter
Toggle Full Screen Mode Alt + Enter

Advanced[edit]

Action Control Use
Show/Hide Debug Stats F2 Shows a text overlay with normally-hidden internal developer information, such as location, highlighted object, or highlighted block.
Show/Hide User Interface Ctrl + U Hides the stats bars, hotbars, and mouse cursor. Useful for taking clean screenshots.

Survival Mode[edit]

Survival mode interface with open inventory and gear window

From top to bottom in the image:

Opened gear (left) and inventory windows (right)

Three bars for the character stats

Four hotbar slots (left) and hand slot (right)



The stat indicators and hotbar slots are always visible. The inventory window can be opened and closed with E. You can use your mouse on the hotbar slots only while the inventory window is open.


Basic World Interaction[edit]

Target an object or block in the world for interaction by standing close and centering it on the screen.

A targeted object will highlight slightly, and a bar with its name will show just above your stats bars.

If you target a block with something in your hand, you will see a white frame to show which block or blocks will be affected. No frame will be shown if your hand is empty.

Picking up items[edit]

Target a movable item such as a Hammer Rock or Pumpkin. Tap F to pick it up. Hold down F to pick up all objects near you. Depending on what you're already carrying, it may show up in your hand, in one of the other four hotbar slots, or in your inventory window. (See the inventory management section for how to move items between the various slots.)

Dropping items[edit]

To quickly drop items out of your hand, use Q. Holding Q will drop every item in a stack.

Eating[edit]

Hold food in your hand slot and left-click. Make sure you are not targetting an item in the environment.

Breaking objects[edit]

Target an immovable object like a Sapling or Large Rock. Left-click to try to break it with whatever is in your hand. (Or with your bare hand if the hand slot is empty.) If you've done damage to the item, the green bar in its tooltip window will decrease.

Note that items produced from a broken object drop onto the ground instead of going into your inventory. You'll have to pick them up manually.

Warning: If you're holding food in your hand, your Seed will eat that instead of trying to damage the object in front of you!

Digging, breaking blocks[edit]

Target a block such as Cliff Rock or Forest Ground. Left-click to try to break it with whatever is in your hand. If you're successful, the block breaks with one hit. If you're not successful, you need to hold a better tool.

If you get any building material from the block (like Cobblestone or Light Green Grass), it goes into your hotbar slots or your inventory. If any other item is produced, like Tin Ore, it will fall on the ground. You'll have to pick it up manually.

Crafting[edit]

Detailed article: Crafting

Place the crafting materials in front of you, and tap G to try to create something with the items.

Open your Crafting Journal with J.

Fighting[edit]

Melee weapon
Target your enemy and left-click. If you've damaged it, the green bar in its tooltip window will decrease.
Thrown weapon
Tap T to switch to throwing mode. Left-click to throw the weapon in the direction of your mouse cursor (in the center of your screen). Gravity affects your missile, so be sure to aim above your target.

Dropping, placing things[edit]

Objects and items[edit]

Hold the item or stack of items in your hand slot. Point your mouse cursor (screen center) at the location you want to put it down. You have several options:

  1. Right-click to put down one item from the stack. Some items, like Torches and Vine Fences, will attach to whatever is at your cursor. Most items, like Crude Axes or Vines, will drop to the ground.
  2. Tap Q to drop the item or stack of items. All items, including Torches and Vine Fences, will drop to the ground.

See the section on advanced Placement Mode if you want to rotate the object before placing it.

Blocks[edit]

Hold the building material (such as Cobblestone or Dirt) in your hand slot.

Target the spot you want to build: you will see a white frame showing the size of the block you'll create. If you don't see a white frame, you are not pointing at a valid location. New blocks have to be touching existing blocks; they cannot be placed in mid-air.

Hold down Ctrl while scrolling the mouse wheel to change the size of the block: you'll see the frame size change as you scroll.

Once the target frame is the right size and in the right location, right-click to "place" the material there.

(See the building article for more information on building with blocks.)

Inventory Management[edit]

Hand and hotbar slots[edit]

Control Action
Right-Click Put down one of the items from the hand slot.
Left-Click Use the hand slot item –or– Pick up a targeted item
1 Move the item(s) in hotbar slot 1 into your hand slot.
2 Move the item(s) in hotbar slot 2 into your hand slot.
3 Move the item(s) in hotbar slot 3 into your hand slot.
4 Move the item(s) in hotbar slot 4 into your hand slot.
H Put contents of hand slot into the inventory window.
Q Drop the contents of your hand slot onto the ground.

Inventory window[edit]

When the inventory window is open, click and drag to move items between the inventory slots, the hotbar slots, and the hand slot. Shift and left-click an inventory slot to toss its contents on the ground. Hold down Ctrl, click, and drag an item to split the stack into two half-size stacks.

If your cursor is over one of the inventory slots, you can swap its contents with the contents of the hand and hotbar slots:

Control Action
Right-Click Swap with the contents of the hand slot
1 Swap with the contents of hotbar slot 1
2 Swap with the contents of hotbar slot 2
3 Swap with the contents of hotbar slot 3
4 Swap with the contents of hotbar slot 4

Placement Mode[edit]

Placement mode allows you to rotate an item freely and shift it in space before placing it.

Use Z to toggle placement mode on and off when you're holding something in your hand.

Action Control
Rotate the item around the vertical axis Ctrl + Right-Click + Drag
Rotate the item around the other two axes Ctrl + No Click + Move Mouse
Place one item Left-Click

Creative Mode[edit]

Creative mode interface with open inventory window

From top to bottom in the image:

Search library text box

Scrollable item library (inventory) window

Nine hotbar slots (left) and hotbar selector (right)
Note: the hotbar selector currently does nothing


The hotbar slots are always visible. The library window can be opened and closed with E. You can use your mouse on the hotbar slots only while the library window is open.

Object/Block Library (Inventory)[edit]

Each icon represents one of the blocks or objects that you can place in the world of TUG. (Note that there may be a few missing from this window: you may find more by exploring the world.) If you have tooltips turned on in the game settings, hovering over an icon will show its name.

Search[edit]

You can filter the list by clicking the Search box and typing a few letters. The letters you type may be anywhere in the object or block's name. For example, if you type in sap, the icons will include "Sapphire Crystal" and "Palm Tree Sapling".

Hotbar[edit]

Objects and blocks need to be in one of your hotbar slots if you want to place them in the world.

You can add an item to a hotbar slot from the library by clicking the icon to pick it up, then clicking in the desired hotbar slot.

You can also add items to the hotbar slot from the world: select an empty hotbar slot, target the object or block you want, then left-click. It will be added to the toolbar if it isn't already there. If it is there, your toolbar selection will move to the slot with its icon. The object/block will be removed from the world.

You can delete an item from a hotbar slot if the library window is open: click the icon to pick it up, then right-click anywhere on the screen to remove it from the mouse.

Placing and deleting[edit]

Use the mouse scroll wheel to select different hotbar slots when the library window is closed.

Objects[edit]

When you select a hotbar slot with an object, that object will attach to your mouse cursor in the world, ready to place. Objects placed in mid-air will stay floating there, instead of falling to the ground.

Action Control
Place object Left-Click (with something selected)
Delete object
Add object to hotbar and cursor
Left-Click (nothing selected)
Rotate the object around the vertical axis Ctrl + Right-Click + Drag
Rotate the object around the other two axes Ctrl + No Click + Move Mouse
Move the object closer or farther from the camera Shift + Right-Click + Drag

To place an object under or on the ground, point the camera downward, then use Shift + Right-Click + Drag to "push away" the object.

Blocks[edit]

When you select a hotbar slot with a block, a cubic wire frame will attach to your cursor. The frame size represents the size of the block that will be placed. The frame color tells you what block shape the material will have once placed: white makes a sharp-edged cube, yellow makes a block with rounded edges, and blue will make a very rounded mound.

Blocks can only be placed touching other blocks.

Action Control
Remove block / dig
Select block type and add to hotbar
Left-Click
Select block size and shape Shift + Mouse Scroll Wheel
Place block Right-Click

Flying mode[edit]

Flying only works in Creative mode. See the main movement section for the movement controls that work in both modes.

Action Control
Toggle flying mode Space + Space (double tap)
Fly up hold Space
Fly down hold C
Horizontal movement W, A, S, D