]> git.localhorst.tv Git - blank.git/blob - running
7c089ff27db902799bb68b1024f1f8ac5bfb0091
[blank.git] / running
1 Arguments
2 =========
3
4 Runtime
5 -------
6
7 -n <n>
8         terminate after <n> frames
9
10 -t <t>
11         terminate after <t> milliseconds
12
13 if both n and t are given, terminate after n frames and
14 assume <t> milliseconds pass each frame
15
16 --asset-path <path>
17         load assets from given path
18         default is application dir + "assets"
19
20 --save-path <path>
21         store and load saves at given path
22         default is whatever SDL thinks is good
23         (should be ~/.local/share/localhorst/blank/)
24
25 Application
26 -----------
27
28 -d
29         disable double buffering
30
31 -m <num>
32         set sample size to <num> (samples per pixel)
33
34 --no-vsync
35         disable vsync
36
37 --standalone
38         run as standalone (the default)
39
40 --client
41         run as client
42
43 --server
44         run as server
45
46 Interface
47 ---------
48
49 --no-keyboard
50         disable keyboard input handling
51
52 --no-mouse
53         disable mouse input handling
54
55 --no-hud
56         disable HUD drawing (includes the selected block outline)
57
58 --no-audio
59         disable audio
60         the audio device and sounds will still be allocated
61         it just stops the interface from queueing buffers
62
63 Network
64 -------
65
66 --host <hostname>
67         hostname to connect to in client mode
68
69 --port <number>
70         port number to connection to (client) or listen on (server)
71
72 World
73 -----
74
75 -s <seed>
76         use <seed> (unsigned integer) as the world seed
77         only used for newly created worlds
78         default is 0
79
80 --world-name <name>
81         use given name for the world save
82         no checks are being done right now, so make sure it can be
83         used as a directory name
84
85
86 Controls
87 ========
88
89 Move around with WSAD, shift, and space, look around with mouse motion.
90 Mouse button 1 deletes the block you're pointing at, button 2 selects it
91 as the active block, and button 3 places the active block next to the one
92 you're pointing at.
93
94 As an alternative to picking, you can also use the mousewheel up/down to
95 flip through available blocks.
96
97 Q changes the face of the active block (loops over up, down, right, left,
98 front, and back) and E changes the turn (none, left, around, and right).
99
100 Pressing B prints details about the block you're pointing at and P prints
101 info about the active block. L spits out the player position and light
102 level there. C dumps info about the chunk of the pointed at block.
103
104 Press N to toggle player/world collision.
105
106 F1 toggles UI rendering.
107 F3 toggles a display telling how long on average it takes to compute a frame.
108 F4 toggles audio.
109
110 Controls are interpreted by scancode, meaning you don't have to break your
111 fingers when you're on an AZERTY. WSAD will be ZSQD there and the above
112 description is just wrong.
113
114 Also I've added a plethora of alternate keys that can be used, like arrow
115 keys for movement, ins/del for placing/removing blocks, etc.