Commit graph

1037 commits

Author SHA1 Message Date
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
yuni 2f82a27ab2 change player's orbital position based on game start time 2024-06-10 23:19:33 +02:00
yuni 1433773784 add suffocation sound effects 2024-06-07 23:55:04 +02:00
yuni 727d28089f don't reset third person setting on death 2024-06-07 03:52:24 +02:00
yuni 9f936989f3 fix player erroneously slowing down automatically 2024-06-07 00:43:27 +02:00
yuni 1ce864c746 tweak suit_v2 curves 2024-06-07 00:33:21 +02:00
yuni 63beec86a2 fix icarus' rotation 2024-06-02 21:37:29 +02:00
yuni 3f1dc27684 add command "template clippy" 2024-06-02 21:35:40 +02:00
yuni 0bbca303cb add "template person" command 2024-06-02 21:29:08 +02:00
yuni f7002fd064 reset chat variables (GameVars) on death 2024-06-02 21:04:03 +02:00
yuni 28cf269907 keep avatar on death/respawn 2024-05-23 05:42:25 +02:00
yuni cc3213788e implement wing avatar, give it to icarus (and player, optionally) 2024-05-23 05:42:18 +02:00
yuni efbb44a9fc implement player avatars 2024-05-23 05:02:59 +02:00
yuni 099e935e3e avoid errors during player death 2024-05-23 05:01:53 +02:00
yuni 2a6e14aa90 add JupiterRecording.ogg, toggle BGM with TAB 2024-05-23 03:56:13 +02:00
yuni 8d4ad64330 cut out a different part from the jupiter recording 2024-05-23 03:53:08 +02:00
yuni e2046380ea WIP jupiter recording 2024-05-23 03:50:09 +02:00
yuni 224e0ce2c9 cleanup, add TODO 2024-05-23 01:26:24 +02:00
yuni bfad39613e better value for "up" vector 2024-05-23 00:59:33 +02:00
yuni e9afeefb7d fix "want to look at player" for when player rides a vehicle 2024-05-23 00:56:12 +02:00
yuni c9e38c7b29 avoid potential panic 2024-05-23 00:40:47 +02:00
yuni 62a0387867 fix monolith model, make it look at cult asteroid 2024-05-23 00:40:14 +02:00
yuni 91d19e94a0 implement preferred looking direction for NPCs 2024-05-23 00:31:31 +02:00
yuni 8a07e9cfb7 cleanup 2024-05-22 23:54:11 +02:00
yuni c56b5d6d74 dynamic camera movement speed limit based on mouse speed 2024-05-22 23:50:28 +02:00
yuni bcba3d0945 cleanup 2024-05-22 23:33:37 +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 42c1d3e191 add branding directory 2024-05-21 19:05:49 +02:00
yuni 77b682a7c1 update repository URL 2024-05-20 21:56:25 +02:00
yuni 6043d4a1b0 Revert "brighter logo"
This reverts commit 83313c1a5f.
2024-05-17 17:17:18 +02:00
yuni 83313c1a5f brighter logo 2024-05-16 05:15:27 +02:00
yuni 23cc88b443 add sticker 2024-05-16 05:10:13 +02:00
yuni f75da62ef9 polished logo, now symmetrical 2024-05-16 03:21:18 +02:00
yuni b074c88d9f new logo 2024-05-16 02:55:11 +02:00
yuni a99ce596d7 keep cruise control going when the game is not focused 2024-05-15 15:07:29 +02:00
yuni e801f3ac02 better cruise control dashboard icon 2024-05-15 14:52:19 +02:00
yuni 3eb7ec45e7 document cruise control key 2024-05-15 05:53:39 +02:00
yuni a4f5f0ea42 fix export path in dashboard_radioactivity.svg 2024-05-15 05:50:31 +02:00
yuni fa8c21203f simplify dashboard definition 2024-05-15 05:34:10 +02:00
yuni b012a2d51e longer HUD gauges 2024-05-15 05:28:53 +02:00
yuni e76043ca97 reset cruise control on death 2024-05-15 05:28:41 +02:00
yuni 7ccc09c7a0 radioactivity icon on dashboard when near jupiter (with no meaning yet) 2024-05-15 05:22:21 +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 e07ad4d236 add dashboard indicator light for rotation stabiliser 2024-05-15 04:43:33 +02:00
yuni d1a906b487 remove more redundancy (add "color scheme") 2024-05-14 23:00:55 +02:00
yuni ff610d4000 remove redundancy 2024-05-14 22:41:02 +02:00
yuni 68d218100c rename Key Bindings to Controls 2024-05-14 19:40:53 +02:00
yuni 1abb5e91e6 typo 2024-05-14 19:25:25 +02:00
yuni 6f565e9725 typos 2024-05-14 19:17:40 +02:00
yuni de327ec748 make the StarTrans Clippys individuals w.r.t. achievements 2024-05-14 19:17:26 +02:00
yuni 9f64bd65a7 rename "Restart Game" to "Take Off Helmet" 2024-05-14 19:12:58 +02:00
yuni 8f76a31cfa show version in menu 2024-05-14 19:08:18 +02:00
yuni a0dd6d45a0 wrap cursor in menu 2024-05-14 18:58:47 +02:00
yuni 8fb4ab4a18 yet another tweak of key binding lists 2024-05-14 18:50:07 +02:00
yuni ac416411a8 tweak wording of achievements 2024-05-14 18:45:35 +02:00
yuni 122a1e49ec make key bindings look more like the achievement list 2024-05-14 18:43:38 +02:00
yuni 49314bc6bb shift around key bindings 2024-05-14 18:43:25 +02:00
yuni ac6011540f don't list menu key; player obviously already pressed it 2024-05-14 18:39:30 +02:00
yuni fdfc479587 more concise key binding descriptions in menu 2024-05-14 18:38:52 +02:00
yuni 31705586cd show key bindings in menu instead of with F1 key 2024-05-14 18:32:23 +02:00
yuni 59fefad6d3 draw visual effects on top of menu/hud 2024-05-14 18:11:18 +02:00
yuni f1725fcab5 show achievements in golden color in the log 2024-05-14 07:27:43 +02:00
yuni ac38a248fa add achievement sound effect 2024-05-14 06:37:00 +02:00
yuni d20dc5c60d summarize achievements on death screen 2024-05-14 06:28:14 +02:00
yuni 22d7a8cc4c less clutter in achievement display 2024-05-14 05:41:26 +02:00
yuni fce2cfdce1 add "Find Earth" achievement 2024-05-14 05:33:35 +02:00
yuni c00a47fe7f padding 2024-05-14 05:22:10 +02:00
yuni cb90846b6f show achievements in the menu 2024-05-14 05:17:32 +02:00
yuni 8f796c92fa implement InJupitersShadow achievement 2024-05-14 04:35:45 +02:00
yuni aa7734947c implement achievements 2024-05-14 01:24:57 +02:00
yuni e7c533d728 format 2024-05-14 00:57:56 +02:00
yuni 60d3198e41 add Camera to menu 2024-05-13 23:51:18 +02:00
yuni 9c148a5a7c fix menu labels not updating 2024-05-13 23:50:53 +02:00
yuni 1b7f422791 change camera key to C 2024-05-13 23:07:47 +02:00
yuni b51e1683b6 typo 2024-05-13 22:09:01 +02:00
yuni 86734fdc72 fix menu not getting updated after toggling settings 2024-05-13 21:49:44 +02:00
yuni 47ca299abb document menu key 2024-05-13 21:43:11 +02:00
yuni c861df0ab4 disable map controls inside menu 2024-05-13 21:43:02 +02:00
yuni 6b6732bdec change schedule 2024-05-13 21:39:55 +02:00
yuni f476f351c9 change menu labels to reflect settings 2024-05-13 21:39:51 +02:00
yuni 83fe739e91 remove keys for restart and toggle shadows/music/sfx 2024-05-13 21:18:37 +02:00
yuni b9791fcdaa add key binding hints in menu 2024-05-13 21:12:23 +02:00
yuni b505312f6e add Toggle Shadows menu entry 2024-05-13 21:11:27 +02:00
yuni 556e98deec add Restart Game to menu 2024-05-13 20:53:08 +02:00
yuni 1c10a0c561 block closing death screen for the first 1 second 2024-05-13 20:42:34 +02:00
yuni ac9451ea4a send GameEvents instead of running redundand code 2024-05-13 20:26:00 +02:00
yuni eb681999f8 implement game menu 2024-05-13 20:21:56 +02:00
yuni 2cf10f2395 cleanup 2024-05-13 17:19:07 +02:00
yuni fcd9fe55d3 Revert "remove light orbs from inconspicuous asteroid - use flashlight now"
This reverts commit f9fcb885fa.
2024-05-13 16:43:18 +02:00
yuni f7412df73d replace special apostrophe character with ' 2024-05-13 06:12:26 +02:00
yuni 3814aa4155 implement special relativity (for speed cheats only, so far) 2024-05-13 06:10:34 +02:00
yuni dd2e596f5c fix lorentz factor 2024-05-13 05:55:34 +02:00
yuni cc67cf961a run input handlers only when alive 2024-05-13 05:01:39 +02:00
yuni 48476e317f reset audio on death/respawn 2024-05-13 04:41:17 +02:00
yuni ea25c7fed3 add audio::PauseAllSfxEvent 2024-05-13 04:33:03 +02:00
yuni 13fbe226e9 simplify audio system 2024-05-13 04:22:41 +02:00
yuni 3bbc57d29f show death poems on death 2024-05-13 03:09:03 +02:00
yuni 585fa7d3f4 move conf file name to common.rs 2024-05-13 01:42:14 +02:00
yuni 6ab89615b7 cleanup 2024-05-13 01:08:16 +02:00
yuni 48f78468c9 cleanup 2024-05-13 01:00:39 +02:00
yuni 2d42edb69c move some of var's constants into common 2024-05-13 00:59:43 +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 78eeef6201 add common.rs 2024-05-13 00:45:16 +02:00
yuni 2f0c84c691 remove top-left HUD entirely, apart of a very dim FPS display 2024-05-13 00:31:41 +02:00
yuni db083e0638 cleanup 2024-05-13 00:10:13 +02:00
yuni d02b820f3f fix dashboard icon placement/sizing 2024-05-13 00:08:40 +02:00
yuni 33876bac73 add game.rs 2024-05-12 23:57:21 +02:00
yuni 2f3190eb1a cleanup 2024-05-12 23:44:10 +02:00
yuni 94d732d9f0 simplify crate module imports 2024-05-12 23:42:56 +02:00
yuni d37b90be15 rename commands.rs to cmd.rs (in preparation for the next commit) 2024-05-12 23:37:13 +02:00
yuni 9095a93a82 disable map on death 2024-05-12 23:30:55 +02:00
yuni d03ca40cae move src/build to build 2024-05-12 23:16:37 +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 7aa6885509 add crate prelude 2024-05-12 22:31:13 +02:00
yuni 055d5e9b30 add ring to all gas giants 2024-05-10 13:46:12 +02:00
yuni 21fc2a55f5 add axialtilt command 2024-05-10 13:46:11 +02:00
yuni 8664adcec4 enlarge venus to cover clouds, see https://bjj.mmedia.is/data/venus/venus.html
Quote from the linked page:

The map should be rendered by projecting it onto a sphere of about 6115 km radius or equivalent unit. Actually Venus' solid body radius is 6051 km but the height of the cloudtops is approximately 65 km so 6115 km seems to be an appropriate value.
2024-05-10 12:24:58 +02:00
yuni 83f43ee06c rename effects.rs to visual.rs 2024-05-10 12:24:57 +02:00
yuni 932a54b460 merge shading.rs into load.rs 2024-05-10 12:24:56 +02:00
yuni 3c52a10a6d rename skeleton.rs to load.rs 2024-05-10 12:24:55 +02:00