Commit graph

1064 commits

Author SHA1 Message Date
yuni 9d44a2db85 tweak conversation 2024-08-02 02:18:39 +02:00
yuni 2337da40ae save game state about Luna's introduction 2024-08-02 02:09:35 +02:00
yuni 03be6d176c add handcrafted collider for clippy, giving a huge performance boost 2024-08-01 20:53:00 +02:00
yuni f33855c018 more conversation for Luna 2024-07-31 20:49:32 +02:00
yuni 0af4b7dab9 add autogeneration warning to src/data/scenes.in 2024-07-31 06:43:11 +02:00
yuni c4e75278fc extend conversation of Luna, add tuned MeteorAceGT 2024-07-31 06:35:29 +02:00
yuni f5154216e5 fix Luna chat 2024-07-31 05:22:35 +02:00
yuni 2998282462 add 2 light orbs near Luna 2024-07-31 05:21:12 +02:00
yuni 398266ea83 add a chat for Luna, he now repairs suit and refills oxygen tank 2024-07-31 05:04:21 +02:00
yuni a6c88e1344 add Luna's workshop with a couple of shipping containers 2024-07-31 04:49:11 +02:00
yuni 5847fde332 fix matching velocity when inside vehicles 2024-07-14 21:16:32 +02:00
yuni 20b2ae049a cleanup (cargo fmt) 2024-07-14 21:16:19 +02:00
yuni f2ed30a5b6 brighter flashlight 2024-07-14 21:09:00 +02:00
yuni 6b0dd36859 cleanup (cargo fmt) 2024-07-14 21:08:41 +02:00
yuni ed0641d68e fix flashlight when in vehicles 2024-07-14 21:08:35 +02:00
yuni 534a313e21 place only 1 cruiser in test scene 2024-07-14 20:29:07 +02:00
yuni 441efcabef rename "Eclipse the Sun with Jupiter" achievement to "Enter Jupiter's Shadow" 2024-07-14 20:24:39 +02:00
yuni fb82e3cc29 add comment about possible panic 2024-07-13 14:31:11 +02:00
yuni e5f9409fd8 automatically match velocity to the closest object 2024-07-13 14:30:02 +02:00
yuni 5e9441dd5e abstract out orbit calculation into nature::pos_offset_for_orbiting_body() 2024-07-12 15:32:45 +02:00
yuni 90c89fc3f3 add comments 2024-07-12 14:58:50 +02:00
yuni 4f787c33e8 cleanup (remove unnecessary scope block, unindenting by 1)
(I had this scope block before in order to release ownership of some
variable so that it can be used again after the scope block, but seems
like this is not necessary anymore by now)
2024-07-12 14:23:54 +02:00
yuni cc45c7bc05 fix clippy colliders with "collider mesh" 2024-07-11 22:49:53 +02:00
yuni 4cc267b55c fix supply crate collider with "collider mesh" 2024-07-11 22:49:36 +02:00
yuni 45fac4d35f fix orange light orb collider with "collider mesh" 2024-07-11 22:49:20 +02:00
yuni 075520d68b Revert "fix collisions with light orbs (orange only)"
This reverts commit 4c4d776741.
2024-07-11 22:44:56 +02:00
yuni 252aabf16b fix bus stop light orb collisions 2024-07-11 22:42:05 +02:00
yuni 4c4d776741 fix collisions with light orbs (orange only) 2024-07-11 22:28:12 +02:00
yuni 9967c6feca add "I don't want to talk to you" option to Icarus 2024-07-09 04:59:23 +02:00
yuni 3e22d4d493 shorter dialog 2024-07-09 04:50:47 +02:00
yuni 3f5bb0c21a s/micros/micrometeorites 2024-07-09 04:49:11 +02:00
yuni dc6b419afd cargo fmt 2024-07-09 04:33:31 +02:00
yuni 1ce56ac909 bevy14: update GLtf emission parameters (*1/1000) 2024-07-09 03:58:03 +02:00
yuni 21a800942e bevy14: fix suit animation 2024-07-09 03:32:03 +02:00
yuni a14dbcb5c7 bevy14: upgrade Translation::look_at with directional arguments 2024-07-09 02:45:44 +02:00
yuni 82ff5491a6 bevy14: Fix error with multiplying color by float 2024-07-09 02:42:10 +02:00
yuni f8cb84ccb1 bevy14: Upgrade Color method names (set_a -> set_alpha) 2024-07-09 02:41:05 +02:00
yuni b038468cfc bevy14: upgrade Color::hex usage 2024-07-09 02:38:28 +02:00
yuni 18760e43c8 bevy14: fix warnings about deprecated Color::rgb(a) usage 2024-07-09 02:32:56 +02:00
yuni 3165cfd754 bevy14: upgrade color palette usage 2024-07-09 02:28:55 +02:00
yuni b1ff21aec4 bevy14: upgrade AppExit enumerator 2024-07-09 02:19:44 +02:00
yuni 877e664df9 cleanup 2024-06-17 02:03:19 +02:00
yuni c8825fb99b battery lasts 10x as long (for flashlight) 2024-06-17 01:58:59 +02:00
yuni c5d744b280 less debug output when saving config file 2024-06-17 01:49:37 +02:00
yuni 20e17e8faa fix hud toggling when starting the game with disabled hud 2024-06-17 01:48:46 +02:00
yuni 377c2a4f0b save/load avatar setting from config file 2024-06-17 01:43:23 +02:00
yuni 548386ef54 cleanup 2024-06-17 01:40:14 +02:00
yuni 3b82ed22a3 clear target when entering targeted vehicle 2024-06-16 23:58:41 +02:00
yuni 5ae8c7dc25 Sus now tries to kill you if you offend him 2024-06-15 02:13:33 +02:00
yuni 982ea00fc7 more dialogue for Sus 2024-06-15 01:50:43 +02:00
yuni a01bf79542 move Sus to pizzeria 2024-06-14 17:09:52 +02:00
yuni 8ce084b72f require less oxygen for emergency conversation option 2024-06-14 17:09:24 +02:00
yuni cd98b16926 add conversation for Sus 2024-06-14 17:00:13 +02:00
yuni 02499e8d05 add "sus" suit 2024-06-14 15:51:31 +02:00
yuni c273217f65 implement noise cancellation modes 2024-06-13 04:06:15 +02:00
yuni 4e8794338a fix wrong radio playing on startup 2024-06-13 03:41:15 +02:00
yuni 8c7a856717 implement radio stations 2024-06-13 03:26:19 +02:00
yuni f1512e01c9 create config file/directory if it doesn't exist yet 2024-06-13 02:18:58 +02:00
yuni eedc379c8d save/load many of the game settings to/from config file 2024-06-13 02:18:22 +02:00
yuni 2eb68e94f7 cleanup 2024-06-13 00:43:01 +02:00
yuni 43756fc09c platform-independent configuration file path 2024-06-13 00:42:23 +02:00
yuni 0f0d1aa1a9 cleanup 2024-06-13 00:39:11 +02:00
yuni 4ed006c548 fix console output in var::load_prefs (bevy macros dont work here) 2024-06-13 00:05:45 +02:00
yuni 5082449c11 add option to ask Chef for oxygen 2024-06-12 02:35:36 +02:00
yuni a3c87e1651 fix multiple includes per chat
previously, putting everything into a "changeset" first (where each item
says "replace line X with the following block") and applying the
changeset after collecting all changes would lead to wrong line numbers,
since inserting a block will move all lines down by some amount.

Gotta replace the include-line with the block right away before you move
on to following include lines.

This was so complex in the first place to please rust's borrow checker.
2024-06-12 02:29:11 +02:00
yuni f8913b8fa3 fix positioning of scene objects 2024-06-12 01:30:07 +02:00
yuni 94ea7ecec2 fix conversation, jupiter is not always a crescent anymore 2024-06-12 01:26:04 +02:00
yuni 727cdcb0c1 better conversation flow for Chef 2024-06-12 01:23:31 +02:00
yuni 009a7ba1dd you can now ask Icarus for oxygen if you're suffocating 2024-06-12 01:06:11 +02:00
yuni 9e121cf633 fix off-by-one error in GameVars::normalize_varname() 2024-06-12 00:59:07 +02:00
yuni 0c622f28ab add debugging code to GameVar::evaluate_condition() 2024-06-12 00:58:38 +02:00
yuni 625bf21c84 continuously set/update chat variable $$player_oxygen_seconds 2024-06-12 00:57:55 +02:00
yuni 3b540b290d debug key now dumps all game variables to console 2024-06-12 00:57:42 +02:00
yuni 8636b08b5f add unit test for GameVars::normalize_varname() 2024-06-12 00:54:26 +02:00
yuni 7ec52b3503 more icarus dialogue 2024-06-11 23:11:28 +02:00
yuni 9d54a9d412 add scene's coordinates to scene object's coordinates 2024-06-11 05:59:10 +02:00
yuni f2246a247f implement scene loader (transformations are still a bit wonky) 2024-06-11 05:50:15 +02:00
yuni a3661cc43f add cruiser template 2024-06-11 05:50:13 +02:00
yuni 2c1dacbf03 flesh out scene loader 2024-06-11 05:49:59 +02:00
yuni 6275a64d7c ignore gravity when calculating g forces
Because gravity is obviously not a force, just a magical property of
spacetime, conveyed by messenger particles called Higgs Bosons which act
as force carriers for this non-force.  Who made this up? :D
2024-06-11 03:29:50 +02:00
yuni 91bf2ddc54 fix velocity after using stop cheat 2024-06-11 03:04:54 +02:00
yuni 79351dc4d0 fix velocity after using teleport cheats 2024-06-11 02:59:10 +02:00
yuni 4dd195e17a fix velocity after traveling with busses 2024-06-11 02:54:13 +02:00
yuni 3d26b0915d add Id2V resource, "wants matchvelocitywith" command 2024-06-11 02:46:31 +02:00
yuni 46a030f15e speedometer shows speed relative to orbital velocity 2024-06-11 01:12:41 +02:00
yuni d04b400fad "space" key now slows down relative to orbital velocity 2024-06-11 01:04:23 +02:00
yuni 77c1bd1e6a add game::JupiterPos resource 2024-06-11 00:58:56 +02:00
yuni cd13b529c3 base handle_wants_maxvelocity on current orbital velocity 2024-06-11 00:50:25 +02:00
yuni 76272a7fc2 add "target_velocity" var to handle_wants_maxvelocity() 2024-06-11 00:05:03 +02:00
yuni d9af542d54 give objects orbiting jupiter an orbital velocity on startup 2024-06-10 23:19:33 +02:00
yuni e16a650b22 apply gravity towards Jupiter for objects orbiting Jupiter 2024-06-10 23:19:33 +02:00
yuni 7be6b0746f disable ring asteroids by default 2024-06-10 23:19:33 +02:00
yuni 974bf9cb8d add feature flag for toggling the generic ring asteroids 2024-06-10 23:19:33 +02:00
yuni e56f931951 ignore gforce for 0.01s on startup, to survive a large starting velocity 2024-06-10 23:19:33 +02:00
yuni 24a9b208bd fix direction of orbital velocity 2024-06-10 23:19:33 +02:00
yuni 1614ece72a update the 2 new nature functions using DVec3 instead of Vec3 2024-06-10 23:19:33 +02:00
yuni 169b9ee257 add nature::gravitational_acceleration, incl. test 2024-06-10 23:19:33 +02:00
yuni c6750eae46 add nature::orbital_velocity 2024-06-10 23:19:33 +02:00
yuni 159dfe8e19 add comment 2024-06-10 23:19:33 +02:00
yuni 797b106255 lower player closer to the orbital plane 2024-06-10 23:19:33 +02:00