Commit graph

111 commits

Author SHA1 Message Date
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 81e700ef66 add death type: GForce 2024-05-12 22:31:16 +02:00
yuni 69381db524 respawn the world on death only after death screen closes 2024-05-12 22:31:15 +02:00
yuni 182659eff0 add death screen 2024-05-12 22:31:14 +02:00
yuni 83f43ee06c rename effects.rs to visual.rs 2024-05-10 12:24:57 +02:00
yuni c2124180f6 change flashlight sound to "switch" 2024-05-08 06:42:35 +02:00
yuni 35a0d51dfb battery drain on flashlight 2024-05-08 02:35:36 +02:00
yuni c38fcaa8dd clamp suit integrity at 0%-100% 2024-05-08 00:32:20 +02:00
yuni 7d31a95a7c show dashboard icon when flashlight is active 2024-05-07 20:54:24 +02:00
yuni 6e92e37cdf turn off flashlight when entering vehicle 2024-05-07 19:13:49 +02:00
yuni 0c1393290e fix suit damage on collisions outside of vehicles 2024-05-07 19:07:32 +02:00
yuni 79673e5ec5 fix collision sounds 2024-05-07 19:07:24 +02:00
yuni e08339ad5e add key to toggle flashlight, fix flashlight in 1st person mode 2024-05-07 17:11:18 +02:00
yuni 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
yuni 591b4a4f46 move actor::position_to_transform to camera module 2024-05-01 21:50:59 +02:00
yuni a9fc27ac27 better g-force calculation 2024-05-01 00:58:58 +02:00
yuni 03563ad955 shrink humans down to actual size 2024-04-30 01:26:59 +02:00
yuni 2b07ef67d1 copy serenity station's new style to the other bus stops 2024-04-24 21:17:41 +02:00
yuni 73410efc09 add comment 2024-04-23 17:45:47 +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 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 f1a7781fa2 properly reset generic asteroids on death 2024-04-20 00:47:51 +02:00
yuni e3ff386011 keep track of positions of IDed objects, for easy rel. position calc. 2024-04-19 22:23:25 +02:00
yuni 81b09d183a boost interaction distance 2024-04-17 15:24:00 +02:00
yuni 919b801832 fix dying from entering vehicles 2024-04-17 13:55:39 +02:00
yuni a1c4fbb821 smooth out engine volume, fixing audio glitches 2024-04-15 21:56:01 +02:00
yuni ac1d1d9bca boost interaction distance 2024-04-14 21:51:59 +02:00
yuni 86cd3b049e rename settings.rs to var.rs, planning to add more than settings to it 2024-04-14 14:55:00 +02:00
yuni ef0ada9dac reset *some* settings on death 2024-04-11 21:20:54 +02:00
yuni 053f2827dd handle god mode properly when restarting/cheat-dying 2024-04-11 21:17:34 +02:00
yuni cb698cc3b2 Revert "reset settings on death/restart"
This reverts commit 3676fd444c.
2024-04-11 21:12:56 +02:00
yuni 3676fd444c reset settings on death/restart 2024-04-11 21:07:01 +02:00
yuni 9ea79ff80f death animation fallback 2024-04-11 20:58:16 +02:00
yuni 0c31055422 add key binding F7 to restart the game 2024-04-11 20:47:11 +02:00
yuni eb481edc8e implement DamageTypes, different visuals/sounds on death 2024-04-11 20:46:52 +02:00
yuni 1c9bcd7208 adapt FoV to g force rather than speed 2024-04-08 02:36:47 +02:00
yuni 6a93193720 show g forces when using speed cheat 2024-04-08 01:54:05 +02:00
yuni 9218398c77 disable blackout for now, i dont like it, too confusing 2024-04-08 01:48:23 +02:00
yuni a44a7faa42 implement god mode 2024-04-08 01:44:36 +02:00
yuni d4708c2873 tweak gforces, vehicle speed, ignore gforce when cheating 2024-04-06 01:36:14 +02:00
yuni a869a7704e implement g-forces and passing out 2024-04-06 01:11:35 +02:00
yuni 7d655ca6c6 cleanup 2024-04-05 23:50:10 +02:00
yuni 91875436bc cleanup 2024-04-05 23:42:02 +02:00
yuni 845e938472 entering vehicles now also based on camera orientation 2024-04-05 20:05:58 +02:00
yuni f13fc7167d cleanup 2024-04-05 20:01:50 +02:00
yuni df541e85a9 chat initiation now finds people you look at, not anyone nearby 2024-04-05 19:58:27 +02:00
yuni 1906366463 implement targeting based on player orientation 2024-04-05 19:03:50 +02:00