Commit graph

171 commits

Author SHA1 Message Date
87199f41db apply cargo fmt 2024-05-22 05:00:45 +02:00
hut
f94c46cce2 implement cruise control 2024-05-15 05:00:59 +02:00
hut
9f64bd65a7 rename "Restart Game" to "Take Off Helmet" 2024-05-14 19:12:58 +02:00
hut
aa7734947c implement achievements 2024-05-14 01:24:57 +02:00
hut
83fe739e91 remove keys for restart and toggle shadows/music/sfx 2024-05-13 21:18:37 +02:00
hut
556e98deec add Restart Game to menu 2024-05-13 20:53:08 +02:00
hut
eb681999f8 implement game menu 2024-05-13 20:21:56 +02:00
hut
cc67cf961a run input handlers only when alive 2024-05-13 05:01:39 +02:00
hut
7f3770cf49 add bevy::math::{DVec3,DQuat} import to common 2024-05-13 00:55:49 +02:00
hut
3b7e3e94dc add EPSILON and EPSILON32 constants 2024-05-13 00:48:41 +02:00
hut
33876bac73 add game.rs 2024-05-12 23:57:21 +02:00
hut
94d732d9f0 simplify crate module imports 2024-05-12 23:42:56 +02:00
hut
81e700ef66 add death type: GForce 2024-05-12 22:31:16 +02:00
hut
69381db524 respawn the world on death only after death screen closes 2024-05-12 22:31:15 +02:00
hut
182659eff0 add death screen 2024-05-12 22:31:14 +02:00
hut
83f43ee06c rename effects.rs to visual.rs 2024-05-10 12:24:57 +02:00
hut
c2124180f6 change flashlight sound to "switch" 2024-05-08 06:42:35 +02:00
hut
35a0d51dfb battery drain on flashlight 2024-05-08 02:35:36 +02:00
hut
c38fcaa8dd clamp suit integrity at 0%-100% 2024-05-08 00:32:20 +02:00
hut
7d31a95a7c show dashboard icon when flashlight is active 2024-05-07 20:54:24 +02:00
hut
6e92e37cdf turn off flashlight when entering vehicle 2024-05-07 19:13:49 +02:00
hut
0c1393290e fix suit damage on collisions outside of vehicles 2024-05-07 19:07:32 +02:00
hut
79673e5ec5 fix collision sounds 2024-05-07 19:07:24 +02:00
hut
e08339ad5e add key to toggle flashlight, fix flashlight in 1st person mode 2024-05-07 17:11:18 +02:00
hut
a4ee4a60ef allow teleporting to other stars, though this kinda breaks the game
but seeing the night sky from so far away is truly magical
2024-05-02 01:43:16 +02:00
hut
591b4a4f46 move actor::position_to_transform to camera module 2024-05-01 21:50:59 +02:00
hut
a9fc27ac27 better g-force calculation 2024-05-01 00:58:58 +02:00
hut
03563ad955 shrink humans down to actual size 2024-04-30 01:26:59 +02:00
hut
2b07ef67d1 copy serenity station's new style to the other bus stops 2024-04-24 21:17:41 +02:00
hut
73410efc09 add comment 2024-04-23 17:45:47 +02:00
hut
2ecb976b14 move around code to better match the module's purposes 2024-04-23 17:39:07 +02:00
hut
8fa7859568 document module purposes 2024-04-23 17:33:36 +02:00
hut
7b21c2b820 tweak ASCII art 2024-04-21 19:34:00 +02:00
hut
1adb56c0e2 add ASCII art header to most files 2024-04-21 18:25:30 +02:00
hut
f1a7781fa2 properly reset generic asteroids on death 2024-04-20 00:47:51 +02:00
hut
e3ff386011 keep track of positions of IDed objects, for easy rel. position calc. 2024-04-19 22:23:25 +02:00
hut
81b09d183a boost interaction distance 2024-04-17 15:24:00 +02:00
hut
919b801832 fix dying from entering vehicles 2024-04-17 13:55:39 +02:00
hut
a1c4fbb821 smooth out engine volume, fixing audio glitches 2024-04-15 21:56:01 +02:00
hut
ac1d1d9bca boost interaction distance 2024-04-14 21:51:59 +02:00
hut
86cd3b049e rename settings.rs to var.rs, planning to add more than settings to it 2024-04-14 14:55:00 +02:00
hut
ef0ada9dac reset *some* settings on death 2024-04-11 21:20:54 +02:00
hut
053f2827dd handle god mode properly when restarting/cheat-dying 2024-04-11 21:17:34 +02:00
hut
cb698cc3b2 Revert "reset settings on death/restart"
This reverts commit 3676fd444c.
2024-04-11 21:12:56 +02:00
hut
3676fd444c reset settings on death/restart 2024-04-11 21:07:01 +02:00
hut
9ea79ff80f death animation fallback 2024-04-11 20:58:16 +02:00
hut
0c31055422 add key binding F7 to restart the game 2024-04-11 20:47:11 +02:00
hut
eb481edc8e implement DamageTypes, different visuals/sounds on death 2024-04-11 20:46:52 +02:00
hut
1c9bcd7208 adapt FoV to g force rather than speed 2024-04-08 02:36:47 +02:00
hut
6a93193720 show g forces when using speed cheat 2024-04-08 01:54:05 +02:00