Skip to content

Commit 0faf2c4

Browse files
Added the basic keybinds to the editor keybinds guide
I don't feel like adding all of them rn lol
1 parent 511f45b commit 0faf2c4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/main.rs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,6 +2252,33 @@ async fn main() {
22522252

22532253
GameState::EditorKeybinds => {
22542254
back_button.draw(false, None, 1.0, false, &font);
2255+
2256+
draw_text_pro(
2257+
"Use WASD to move objects one gridspace",
2258+
screen_width() / 2.0 - measure_text_ex("Use WASD to move objects one gridspace!", 20, &font) / 2.0,
2259+
200.0,
2260+
20,
2261+
RED,
2262+
&font
2263+
);
2264+
2265+
draw_text_pro(
2266+
"Use Shift + WASD to move objects off grid",
2267+
screen_width() / 2.0 - measure_text_ex("Use Shift + WASD to move objects off grid!", 20, &font) / 2.0,
2268+
250.0,
2269+
20,
2270+
RED,
2271+
&font
2272+
);
2273+
2274+
draw_text_pro(
2275+
"Use Q and E to rotate objects 90 degrees",
2276+
screen_width() / 2.0 - measure_text_ex("Use Q and E to rotate objects 90 degrees", 20, &font) / 2.0,
2277+
300.0,
2278+
20,
2279+
RED,
2280+
&font
2281+
);
22552282
}
22562283
}
22572284

0 commit comments

Comments
 (0)