Commit graph

1544 commits

Author SHA1 Message Date
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 e579fdcdb7 some brainstorming on potential characters 2024-06-12 04:28:50 +02:00
yuni 4fa486946e move ROADMAP.md to doc/gamedesign.md 2024-06-12 02:43:24 +02:00
yuni e6c9ee9f3f update changelog 2024-06-12 02:41:32 +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 83f3f03aff update changelog 2024-06-11 06:01:52 +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 0047c4eda4 WIP scene definitions from blender files 2024-06-11 04:40:57 +02:00
yuni 28cb1c09fd add tutorial link 2024-06-11 04:10:15 +02:00
yuni beaf8cff47 brevity 2024-06-11 04:09:16 +02:00
yuni ee818beea4 wording 2024-06-11 04:07:20 +02:00
yuni 8c97a962b2 add gravity/orbit changes to changelog 2024-06-11 03:59:04 +02:00
yuni 1a94c31d62 Merge branch 'gravity' 2024-06-11 03:40:21 +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 5817944a79 add a line about darkness to the tutorial 2024-06-11 00:50: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