]> git.localhorst.tv Git - blank.git/blob - running
fix error in make_dirs and add is_file
[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 Interface
38 ---------
39
40 --no-keyboard
41         disable keyboard input handling
42
43 --no-mouse
44         disable mouse input handling
45
46 --no-hud
47         disable HUD drawing (includes the selected block outline)
48
49 --no-audio
50         disable audio
51         the audio device and sounds will still be allocated
52         it just stops the interface from queueing buffers
53
54 World
55 -----
56
57 -s <seed>
58         use <seed> (unsigned integer) as the world seed
59         default is 0
60
61
62 Controls
63 ========
64
65 Move around with WSAD, shift, and space, look around with mouse motion.
66 Mouse button 1 deletes the block you're pointing at, button 2 selects it
67 as the active block, and button 3 places the active block next to the one
68 you're pointing at.
69
70 As an alternative to picking, you can also use the mousewheel up/down to
71 flip through available blocks.
72
73 Q changes the face of the active block (loops over up, down, right, left,
74 front, and back) and E changes the turn (none, left, around, and right).
75
76 Pressing B prints details about the block you're pointing at and P prints
77 info about the active block. L spits out the player position and light
78 level there. C dumps info about the chunk of the pointed at block.
79
80 Press N to toggle player/world collision.
81
82 F1 toggles UI rendering.
83 F3 toggles a display telling how long on average it takes to compute a frame.
84 F4 toggles audio.