Commit graph

151 commits

Author SHA1 Message Date
yuni c9e38c7b29 avoid potential panic 2024-05-23 00:40:47 +02:00
yuni c56b5d6d74 dynamic camera movement speed limit based on mouse speed 2024-05-22 23:50:28 +02:00
yuni 9b48112ee6 remove unnecessary check 2024-05-22 23:31:57 +02:00
yuni 8acbd4f33b unify rotation stabilizer of players and npcs 2024-05-22 23:29:54 +02:00
yuni 87199f41db apply cargo fmt 2024-05-22 05:00:45 +02:00
yuni b0ac508d91 enable zoom outside of augmented reality (why confuse the player?) 2024-05-22 04:11:48 +02:00
yuni a99ce596d7 keep cruise control going when the game is not focused 2024-05-15 15:07:29 +02:00
yuni a07955d635 force-enable rotation stabiliser while holding space key 2024-05-15 05:02:38 +02:00
yuni f94c46cce2 implement cruise control 2024-05-15 05:00:59 +02:00
yuni c861df0ab4 disable map controls inside menu 2024-05-13 21:43:02 +02:00
yuni 83fe739e91 remove keys for restart and toggle shadows/music/sfx 2024-05-13 21:18:37 +02:00
yuni b505312f6e add Toggle Shadows menu entry 2024-05-13 21:11:27 +02:00
yuni eb681999f8 implement game menu 2024-05-13 20:21:56 +02:00
yuni cc67cf961a run input handlers only when alive 2024-05-13 05:01:39 +02:00
yuni 13fbe226e9 simplify audio system 2024-05-13 04:22:41 +02:00
yuni 7f3770cf49 add bevy::math::{DVec3,DQuat} import to common 2024-05-13 00:55:49 +02:00
yuni c292c66900 add PI/PI32 to common.rs 2024-05-13 00:52:34 +02:00
yuni 3b7e3e94dc add EPSILON and EPSILON32 constants 2024-05-13 00:48:41 +02:00
yuni 33876bac73 add game.rs 2024-05-12 23:57:21 +02:00
yuni 94d732d9f0 simplify crate module imports 2024-05-12 23:42:56 +02:00
yuni 69381db524 respawn the world on death only after death screen closes 2024-05-12 22:31:15 +02:00
yuni c2ee7ee3e1 better aiming in 3rd person mode 2024-05-08 18:40:01 +02:00
yuni 0a4e3c3006 cleanup 2024-05-08 01:00:58 +02:00
yuni 60309f84a0 update mapcam.center fast enough to avoid flicker on moving target 2024-05-07 22:05:24 +02:00
yuni 875e27ccf1 more responsive player input (hopefully?) 2024-05-07 21:44:23 +02:00
yuni 0f5c4d1d89 remove CENTER_WORLD_ON_PLAYER feature flag (always enabled now) 2024-05-07 21:33:15 +02:00
yuni b695ba7701 fix floating point errors in map mode on far away targets 2024-05-01 22:18:15 +02:00
yuni 591b4a4f46 move actor::position_to_transform to camera module 2024-05-01 21:50:59 +02:00
yuni b00c583d4d faster rotation stabilizer 2024-05-01 04:02:04 +02:00
yuni c59f8242c9 lower illuminance from the sun 2024-05-01 00:44:47 +02:00
yuni 36cad88e77 cleanup 2024-04-25 04:17:26 +02:00
yuni 89cd374d9e add zoom sound effect when zooming map 2024-04-25 04:16:39 +02:00
yuni 1f3f0eec7a add various sound effects to key presses 2024-04-25 03:52:32 +02:00
yuni d70e22678e add "woosh" sound effect when opening map 2024-04-25 03:47:10 +02:00
yuni d1dc3da34f easier targeting of small objects 2024-04-24 20:40:40 +02:00
yuni e3de0d56f7 add F2 key to toggle shadows 2024-04-24 20:40:20 +02:00
yuni 6d8341ba56 lower shadow distance 2024-04-24 20:17:37 +02:00
yuni b5878802a3 cleanup 2024-04-24 19:59:14 +02:00
yuni 4c26f2ef4f implement shadows, tweak world objects for better visibility 2024-04-24 19:54:37 +02:00
yuni 579a354f50 brighter directional illumination 2024-04-24 16:58:56 +02:00
yuni 2ecb976b14 move around code to better match the module's purposes 2024-04-23 17:39:07 +02:00
yuni 8fa7859568 document module purposes 2024-04-23 17:33:36 +02:00
yuni c1e76d09a9 Space now resets the map camera 2024-04-22 00:07:45 +02:00
yuni 556f097193 show point of interest marker only if HUD + map are active 2024-04-21 21:38:46 +02:00
yuni 7b21c2b820 tweak ASCII art 2024-04-21 19:34:00 +02:00
yuni 1adb56c0e2 add ASCII art header to most files 2024-04-21 18:25:30 +02:00
yuni 0d9bf25f52 make map movement keys much more intuitive 2024-04-20 04:39:48 +02:00
yuni c79320d072 implement moving with AWSD in map. this allows changing target! 2024-04-20 04:19:30 +02:00
yuni dba6c4183a hide orbital circles when AR is off 2024-04-20 02:37:00 +02:00
yuni e8eb7a77a1 reduced starting map zoom level 2024-04-20 02:36:45 +02:00