X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=running;h=8638f4338144b0b9c10e9326fafa1f87873d296d;hb=df8e86cac65da6daedcab3e4ab1751de2f7e123a;hp=1684765071195c33501ceeb2cd2d7a696c23fecd;hpb=7c2a8b8285278b8a3077b311d82f05ea0463a96e;p=blank.git diff --git a/running b/running index 1684765..8638f43 100644 --- a/running +++ b/running @@ -4,14 +4,23 @@ Arguments Runtime ------- -[-n] +-n terminate after frames -t terminate after milliseconds -[-n] -t - terminate after n frames, assume milliseconds pass each frame +if both n and t are given, terminate after n frames and +assume milliseconds pass each frame + +--asset-path + load assets from given path + default is application dir + "assets" + +--save-path + store and load saves at given path + default is whatever SDL thinks is good + (should be ~/.local/share/localhorst/blank/) Application ----------- @@ -45,8 +54,15 @@ Interface World ----- -blank -s - use (unsigned integer) as the world seed. default is 0 +-s + use (unsigned integer) as the world seed + only used for newly created worlds + default is 0 + +--world-name + use given name for the world save + no checks are being done right now, so make sure it can be + used as a directory name Controls @@ -72,3 +88,10 @@ Press N to toggle player/world collision. F1 toggles UI rendering. F3 toggles a display telling how long on average it takes to compute a frame. F4 toggles audio. + +Controls are interpreted by scancode, meaning you don't have to break your +fingers when you're on an AZERTY. WSAD will be ZSQD there and the above +description is just wrong. + +Also I've added a plethora of alternate keys that can be used, like arrow +keys for movement, ins/del for placing/removing blocks, etc.