Contents

Display

ASCII or graphical tiles are commonly used ways to represent the game world; however, you can also use any techniques from other computer games genres, or even try to develop your own.

Character display

A character display (also textual display) is an output format that relies on characters to represent information; character displays were the main output format for all software in the 80's, where using extended ASCII it was possible to create simple menus and graphic user interfaces, even using the mouse.

The character display in roguelikes is, however, different: instead of representing words or graphical components of a graphic user interface, each character has a meaning on its own. This is one of the basic characteristics of roguelikes, although it is not a deciding one as the developer may not feel comfortable with it and would instead go with a graphical display. There are some adventure and role-playing games that have a character display similar to the one roguelikes use, but it doesn't qualify them as roguelikes, as they are missing other most important features.

Some ASCII characters have the same meaning in nearly every roguelikes. . is used for floors, lit areas, or somewhere the player can walk on and doesn't have anything special. In dungeons, < and > are stairs to the previous and next level. @ usually is the hero and letters from a to z (lower case and capital letters) the monsters. ? is common for scrolls, ! for potions.

Graphical display

Graphical displays manipulate pixels directly, rather than rendering them as characters of text. This approach gives much more flexibility than pure text, since shapes can be modified before drawing them on the screen. Graphical displays often use tiles (small pictures) instead of text symbols.

If you want to use graphical tiles in your roguelike, you might find the list of tilesets helpful.

Movement keys

Numpad

On US and UK keyboards (not sure about others), 7 doubles up as 'Home', 1 as 'End', 9 as 'Page Up' and 3 as 'Page Down', while 8, 4, 6 and 2 double up as the arrow keys Up, Left, Right and Down.

The 5 key usually means to stay in the same place.

But be warned that some keyboards, especially some laptop-keyboards wholly omit the numpad so be sure to always provide an alternative to numpad (such as the vi-keys given below).

Vi keys

Keyboard controls for moving the cursor in Vi(m) and some Roguelikes.

y k u
\|/
h-.-l
/|\
b j n

The keys are laid out so that 'hjkl' are all on one line of the keyboard. (This may not be the case on non-us keyboards). As they are (supposed to be) on the keyboard:

y u
h j k l
b n

The '.' key is often used to stay in one place.

Targetting system

The targetting system is the part of the UI that is in charge of picking targets for the different actions, it is specially used in ranged combat with bows, crossbows, etc. And spell casting (Magic missiles or beams).

It is a very important part of the UI, as it helps to make the combat simpler to the eyes of the player.

Some games (such as Nethack) do not have a proper targetting system, they only allow the player to enter the direction not the target.