From c2429d3fe69b7e545b8c75ae12eddcf39ebe3f43 Mon Sep 17 00:00:00 2001 From: Peter Li Date: Sat, 3 May 2025 11:54:56 -0700 Subject: [PATCH] updated readme for samplegame in-game --- projects/sampleGame/main.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/sampleGame/main.zig b/projects/sampleGame/main.zig index aa544aa..fa087c2 100644 --- a/projects/sampleGame/main.zig +++ b/projects/sampleGame/main.zig @@ -366,6 +366,11 @@ pub fn tick(self: *@This(), dt: f64) void { if (ig.checkbox("move lights ", &self.moveLight)) {} + ig.textFmt("info: - WASD to move, mouse to look,\n- Q and E to go up and down", .{}) catch return; + ig.textFmt("- shift to slow down camera speed", .{}) catch return; + ig.textFmt("- T to enable/disable mouse cursor", .{}) catch return; + ig.textFmt("- f2 to route all inputs to the doom player", .{}) catch return; + ig.textFmt("- movingLight checkbox makes the light stop moving with you", .{}) catch return; ig.end(); } }