Commit graph

691 commits

Author SHA1 Message Date
yuni e6ca1c5b50 make pronouns optional (tā tāāā!) 2024-04-20 02:48:55 +02:00
yuni dba6c4183a hide orbital circles when AR is off 2024-04-20 02:37:00 +02:00
yuni e8eb7a77a1 reduced starting map zoom level 2024-04-20 02:36:45 +02:00
yuni 61986d2f43 slower map zoom 2024-04-20 02:33:37 +02:00
yuni d0acc6988f add orbital inclinations 2024-04-20 02:26:04 +02:00
yuni 1d220c79cc add orbital rings for all 8 planets of the sun + pluto 2024-04-20 02:16:17 +02:00
yuni d8722a4f98 add orbit rings in map for jupiter and its moons 2024-04-20 02:09:04 +02:00
yuni 8e04cddda5 add the remaining moons: Metis, Adrastea, Amalthea 2024-04-20 02:05:51 +02:00
yuni d2744d7f16 cleanup 2024-04-20 02:04:34 +02:00
yuni f1a7781fa2 properly reset generic asteroids on death 2024-04-20 00:47:51 +02:00
yuni 42a3577c57 enable scrolling the map with the mouse wheel 2024-04-19 22:54:27 +02:00
yuni ed1ef1bb1f fix asteroids spawing inside the sun rather than around jupiter 2024-04-19 22:41:16 +02:00
yuni 5c29681ee3 position cheats now teleport you relative to identified objects 2024-04-19 22:30:15 +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 0044f50e68 better starting zoom level 2024-04-19 04:41:07 +02:00
yuni ed6187d996 restore jupiter's ring 2024-04-19 04:18:45 +02:00
yuni 513e3d89ef center map around targeted object 2024-04-19 03:54:17 +02:00
yuni 7d85a93449 restore previous night sky appearance, tho with real star distances 2024-04-19 03:42:59 +02:00
yuni 70a602de5c enforce min/max zoom levels 2024-04-19 03:38:32 +02:00
yuni ea26711806 place stars at their actual xyz coordinate. (try zooming out in map 🤯) 2024-04-19 00:43:12 +02:00
yuni fca8251f27 place sun separately of the other stars, for better placement in map 2024-04-18 23:39:34 +02:00
yuni 0c2c295f6b place stars ~105 lightyears away from the player, should be enough... 2024-04-18 23:14:27 +02:00
yuni 8cd970a930 fix selectagon orientation in map mode 2024-04-18 23:05:29 +02:00
yuni 336527c4c0 fix AR flicker when moving 2024-04-18 22:48:30 +02:00
yuni a14e295007 tweak map parameters 2024-04-18 22:48:21 +02:00
yuni 463745eabb add map mode 🥰 2024-04-18 21:25:41 +02:00
yuni f169ceac8f show the game version in the HUD 2024-04-18 03:56:32 +02:00
yuni 81b09d183a boost interaction distance 2024-04-17 15:24:00 +02:00
yuni a6e6dac3d8 reposition Lum 2024-04-17 15:15:24 +02:00
yuni 919b801832 fix dying from entering vehicles 2024-04-17 13:55:39 +02:00
yuni c9e271184c update mouse sensitivity after the recent collider/mass change 2024-04-17 13:55:30 +02:00
yuni 1b0209f38b toggle skybox off. don't like the result 2024-04-17 04:08:44 +02:00
yuni 6d12033e23 add starry sky box with shader 2024-04-17 04:02:40 +02:00
yuni f95a69c095 fix jupiter's rotational axis 2024-04-16 23:31:08 +02:00
yuni 7475b104ba cleanup: simplify position_to_transform 2024-04-16 19:51:04 +02:00
yuni 24edac27e5 add "The Whale", hollowed-out asteroid to scoop up debris 2024-04-16 19:44:46 +02:00
yuni 5373edb02f cleanup 2024-04-16 19:44:05 +02:00
yuni c880a8fb97 add basic grainy texture to material_asteroid 2024-04-16 18:28:15 +02:00
yuni 8afd150223 fix collider hiding 2024-04-16 17:12:39 +02:00
yuni f56521e49f add dummy material_asteroid.wgsl and shading::AsteroidSurface 2024-04-16 16:41:15 +02:00
yuni babbef279a implement better scene collider removal 2024-04-16 16:40:20 +02:00
yuni b186b37ffb add debug function that applies JupitersRing shader to all scenes 2024-04-16 16:28:19 +02:00
yuni fc01b68086 add shading.rs 2024-04-16 16:27:17 +02:00
yuni 8248d43463 add textured asteroid "Lum" with cave system and light orb 2024-04-16 16:04:53 +02:00
yuni 3079b17a1b better error handling with target acquisition 2024-04-16 15:56:12 +02:00
yuni fd16d6931e add "targeted yes" command 2024-04-16 15:55:37 +02:00
yuni 4d4ccb9d9f give moonlet mesh collider 2024-04-16 05:53:04 +02:00
yuni 9d9482dd4a give pizzaria mesh collider 2024-04-16 05:50:58 +02:00
yuni 4ac1d020e2 update meshes in defs.txt 2024-04-16 04:11:52 +02:00
yuni 2402fe7b03 add "mesh handcrafted" command 2024-04-16 04:10:43 +02:00
yuni 23a85807a5 get colliders from scene mesh with name "Collider", hide it in render 2024-04-16 04:04:22 +02:00
yuni efd85e1433 fix mesh colliders breaking due to CENTER_WORLD_ON_PLAYER 2024-04-16 02:44:01 +02:00
yuni 830d371e36 set density/inertia for computed mesh 2024-04-16 02:31:25 +02:00
yuni cf34ab5a63 Revert "ok this is hilarious, you can fly the pizzeria now"
This reverts commit c7a050e2aa.
2024-04-16 01:55:53 +02:00
yuni c7a050e2aa ok this is hilarious, you can fly the pizzeria now 2024-04-16 01:55:23 +02:00
yuni 6002688bb4 determine closeness based on distance to surface, not center 2024-04-16 01:54:34 +02:00
yuni f815e3d62e late console lines fade out completely when they expire 2024-04-15 23:45:46 +02:00
yuni 02dab4b4b7 tweak hud colors 2024-04-15 23:40:36 +02:00
yuni b8a122904a cleanup 2024-04-15 23:23:46 +02:00
yuni 22bfc62acc Revert "fade out text through color, not alpha, for performance reasons"
I don't actually think there's any performance reasons....

This reverts commit 35d6937793.
2024-04-15 23:23:16 +02:00
yuni 35d6937793 fade out text through color, not alpha, for performance reasons 2024-04-15 23:21:15 +02:00
yuni 45fbd4e2b5 add F1 key to show key bindings 2024-04-15 23:17:44 +02:00
yuni a1c4fbb821 smooth out engine volume, fixing audio glitches 2024-04-15 21:56:01 +02:00
yuni 65f57cbccb smaller text in HUD 2024-04-15 21:29:06 +02:00
yuni 594b05f638 always show "absolute" speed, even if targeting 2024-04-15 21:28:52 +02:00
yuni 76548d86a4 rename SpacePizza™ to Nox 2024-04-15 21:22:41 +02:00
yuni f01fd06bac different colors for different console log levels 2024-04-15 21:18:02 +02:00
yuni 8533b689b2 overhaul HUD 2024-04-15 21:00:13 +02:00
yuni f85e01c6f6 typo 2024-04-15 18:22:50 +02:00
yuni fd741ae905 tweak mouseless camera control sensitivity 2024-04-15 13:17:10 +02:00
yuni 32537315d0 fix rotation of selectagon, especially when targeting jupiter 2024-04-15 04:07:56 +02:00
yuni 2d5348956e move chatbox to the top left, implement fading of old messages 2024-04-15 03:57:21 +02:00
yuni 2a7714661f fix chat 2024-04-15 03:32:00 +02:00
yuni a46d29715e move status display to the top right 2024-04-15 02:42:23 +02:00
yuni e47e175fc5 how only the 3 most recent log entries 2024-04-15 02:35:12 +02:00
yuni 51089049ae fix choice/text colors 2024-04-15 02:34:43 +02:00
yuni eb3353bb07 color vitals/suit integrity red if low 2024-04-15 02:32:30 +02:00
yuni b857d46119 clean up HUD creation 2024-04-15 02:29:49 +02:00
yuni 73beb451dd tweak conversation 2024-04-15 02:08:25 +02:00
yuni ba1269627d fix choice order 2024-04-15 02:06:10 +02:00
yuni 97141ed73a write cozier dialog at pizza store 2024-04-15 01:45:40 +02:00
yuni 05769c988c implement "if: ~value:" to negate it. ("!" doesnt work for YAML reasons) 2024-04-14 23:57:58 +02:00
yuni 27ada34377 add teleport key (x) 2024-04-14 23:39:30 +02:00
yuni d1aaefb490 typo 2024-04-14 22:34:12 +02:00
yuni 3c317111d3 cut off star magnitude above 6.0 for brightness/size calculations 2024-04-14 22:31:10 +02:00
yuni 69fb360229 move stars.rs to an included array in src/data/ 2024-04-14 22:30:49 +02:00
yuni 49f9900469 cleanup 2024-04-14 22:00:10 +02:00
yuni ad9f6dbd39 render stars as circles instead of spheres 2024-04-14 21:52:29 +02:00
yuni a2b348fc59 cleanup 2024-04-14 21:52:18 +02:00
yuni ac1d1d9bca boost interaction distance 2024-04-14 21:51:59 +02:00
yuni 2c28394705 cleanup 2024-04-14 21:16:06 +02:00
yuni 03d2809295 fix regression that caused inlined ifs to be displayed as choices 2024-04-14 21:14:26 +02:00
yuni d28e56a1aa accelerate chat speed in dev mode 2024-04-14 21:07:59 +02:00
yuni 2e57f911ed implement conditions on choices 2024-04-14 20:44:29 +02:00
yuni d21f8b4b09 implement "inlined" conditions (like - if $x > 4:) 2024-04-14 20:02:23 +02:00
yuni 011938cadf implement "if" statements with 2 operands + 1 operator 2024-04-14 19:48:11 +02:00
yuni 00df7bc711 implement "if" statements with 2 operands (comparing for equality) 2024-04-14 19:23:43 +02:00
yuni d51333274b implement "if" statements with one boolean condition 2024-04-14 18:56:40 +02:00
yuni d6901bef00 split off and document GameVars::normalize_varname 2024-04-14 18:23:38 +02:00
yuni a13264a404 prefix the actor id as scope for variables like "$foo" (-> "icarus$foo") 2024-04-14 18:09:14 +02:00
yuni b4ff95c3be WIP if-branches in chats 2024-04-14 17:29:35 +02:00
yuni 5df3f66ea6 implement "set" token for chats 2024-04-14 16:20:51 +02:00
yuni 07be89162c add GameVars struct 2024-04-14 15:37:36 +02:00
yuni 7b6b14a992 avoid crash when chat "include" label doesn't exist 2024-04-14 15:37:23 +02:00
yuni 600f9d5e3e cleanup 2024-04-14 14:58:53 +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 a670778fb0 WIP new pizza dialogue 2024-04-14 05:09:34 +02:00
yuni 8c12d96774 cleanup 2024-04-14 04:56:34 +02:00
yuni f5c397dfe1 typos 2024-04-14 04:56:28 +02:00
yuni c44c22e658 update cheat teleport destinations 2024-04-14 04:40:42 +02:00
yuni a9ebaf0a5f fix delay with showing responses for Bus Stop Clippy 2024-04-14 04:14:04 +02:00
yuni 69fce751d9 move Oscillation Station to a more scenic place for now 2024-04-14 04:13:51 +02:00
yuni dad7fc8fc4 add safety check 2024-04-14 03:37:33 +02:00
yuni 01453e46f8 implement "include" token for chats 2024-04-14 03:24:06 +02:00
yuni 43f67877a2 delete src/chat_old.rs (\o/) 2024-04-14 01:20:22 +02:00
yuni 0b22494751 fix conversation timings, seek past choices when dropping out of branches 2024-04-14 01:16:37 +02:00
yuni 39a74582fc implement specifying custom chat sounds per message with "sound" token 2024-04-13 23:35:59 +02:00
yuni 4b4be21ade cleanup 2024-04-13 23:22:00 +02:00
yuni 699bb4f563 implement chat sounds 2024-04-13 23:21:53 +02:00
yuni b06e54a0d9 implement sleep token for chats 2024-04-13 23:03:41 +02:00
yuni fbc6dea13e implement goto token in chats 2024-04-13 22:43:58 +02:00
yuni 9176caa372 implement chat scripts 2024-04-13 22:10:13 +02:00
yuni 08ec42c043 handle msg/system/warn tokens 2024-04-13 21:45:05 +02:00
yuni cc72fa1b31 cleanup, fixes 2024-04-13 21:14:46 +02:00
yuni 5bc76a3e2f proper exiting of conversation branches 2024-04-13 20:59:55 +02:00
yuni e7df698225 implement choice selection 2024-04-13 20:23:51 +02:00
yuni 8df6914dba WIP choices 2024-04-13 18:57:23 +02:00
yuni e8302833da implement stack-based conversation position 2024-04-13 17:59:52 +02:00
yuni d990726932 switched from yaml_rust to serde_yaml 2024-04-13 17:33:14 +02:00
yuni 57f0e94bc6 WIP stack-based conversation position 2024-04-13 16:03:15 +02:00
yuni ef9d9c8fcc cleanup 2024-04-13 16:03:07 +02:00
yuni 826638416f detect choice selection keys 2024-04-13 15:44:23 +02:00
yuni 2b0de07427 remove TIMEOUT "choices", handle it with labels instead 2024-04-13 15:40:19 +02:00
yuni 9698dcdfee render choices 2024-04-13 15:26:45 +02:00
yuni 9cd1cf19e2 WIP choice spawning 2024-04-13 12:24:56 +02:00
yuni 1fd0481ec4 implement chat speed setting 2024-04-13 01:34:18 +02:00
yuni c0672f0ad8 implement showing names of conversation partners 2024-04-13 01:25:57 +02:00
yuni eff6306a93 implement showing all first-level messages of a chat 2024-04-13 01:22:01 +02:00
yuni b41891ba3b implement showing the first message of a chat 2024-04-13 00:39:21 +02:00
yuni 45d3408f0c cleanup 2024-04-13 00:11:32 +02:00
yuni 2aaecdc113 start implementing ChatDB.advance_chat() 2024-04-13 00:05:42 +02:00
yuni ca709080eb spawn chat entity. limit number of chats to 1 2024-04-12 23:28:15 +02:00
yuni 14ef824b17 actual nice code 2024-04-12 23:18:07 +02:00
yuni ad8efd60d5 an attempt at nicer code... 2024-04-12 23:13:55 +02:00
yuni a572959df3 implement looking up chat id 2024-04-12 23:06:31 +02:00
yuni 253604e9aa cleanup 2024-04-12 21:45:36 +02:00
yuni 0117a6d4d2 load chat yaml files 2024-04-12 21:26:23 +02:00
yuni b9528b3637 split off startrans chats into separate yaml file 2024-04-12 21:25:59 +02:00
yuni 56385b257d rip out existing chat implementation
(this was SO satisfying)
2024-04-12 20:49:26 +02:00
yuni 5ca31fda65 add chat definitions in YAML format (integration still needed) 2024-04-12 20:37:19 +02:00