From 1efd0b44417be4593dddc481f5e4d43ef210e875 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 27 Feb 2022 15:12:23 +0100 Subject: [PATCH] rv:: platformer:: now possible to change settings, better explanation in the slide --- rogueviz/platformer.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rogueviz/platformer.cpp b/rogueviz/platformer.cpp index ccd54021..272c67a7 100644 --- a/rogueviz/platformer.cpp +++ b/rogueviz/platformer.cpp @@ -13,6 +13,7 @@ g -- generate the current room (buggy) m -- see the map (toggle) p -- pause (toggle) z -- screenshot menu +v -- HyperRogue settings q -- quit s -- save to platformer.lev 1 -- place a small block under the mouse @@ -704,6 +705,9 @@ void run() { dialog::add_key_action('m', [] { map_on = !map_on; }); + dialog::add_key_action('v', [] { + pushScreen(showSettings); + }); dialog::add_key_action('p', [] { paused = !paused; }); @@ -817,7 +821,7 @@ auto chk = arg::add3("-platformer", enable) if(s != "mixed") return; v.push_back(tour::slide{ "platformer", 10, tour::LEGAL::NONE | tour::QUICKSKIP | tour::QUICKGEO, - "A non-Euclidean platformer. Press up/left/right to move the guy.\n" + "A non-Euclidean platformer.\n\nPress up/left/right to move the guy.\n\nM to see the map\n\nP to pause\n\nV to change HyperRogue settings.\n\nPress Q when you are done.\n" , [] (tour::presmode mode) { slide_url(mode, 'y', "non-Euclidean platformer (YouTube)", "https://www.youtube.com/watch?v=eb2DhCcGH7U");