Commit graph

1080 commits

Author SHA1 Message Date
yuni 9717e494d8 move /src/blender to /blender 2024-04-27 14:40:06 +02:00
yuni c4f08d82c9 move build.rs to root directory to avoid surprises 2024-04-27 13:50:58 +02:00
yuni 77bc8ee8e1 add release_windows/release_linux features to streamline building 2024-04-27 00:32:38 +02:00
yuni 32b4a7a895 remove unused component structs 2024-04-26 23:17:08 +02:00
yuni 9058e4a588 add nixos package (WIP) 2024-04-26 23:16:03 +02:00
yuni e50e345d48 toggle dev mode with feature flags, document --features dev 2024-04-26 14:24:37 +02:00
yuni e67aa16a93 make asteroids targetable 2024-04-25 05:22:44 +02:00
yuni 36cad88e77 cleanup 2024-04-25 04:17:26 +02:00
yuni 89cd374d9e add zoom sound effect when zooming map 2024-04-25 04:16:39 +02:00
yuni 1f3f0eec7a add various sound effects to key presses 2024-04-25 03:52:32 +02:00
yuni d70e22678e add "woosh" sound effect when opening map 2024-04-25 03:47:10 +02:00
yuni 729e6be59d add command line options for help, and for setting window mode 2024-04-25 03:23:43 +02:00
yuni 178f6f5d45 add "--gl" option to set WGPU_BACKEND=gl 2024-04-25 02:37:45 +02:00
yuni 8e27525b35 restore real size of moons. add setting "large_moons" 2024-04-25 02:22:58 +02:00
yuni d4ebe355ce add blender source of suit_v2.glb 2024-04-25 01:22:45 +02:00
yuni c7e439ab08 move /build to /src/build 2024-04-25 01:14:38 +02:00
yuni 6843784f30 read keybindings.in in the correct (reversed) order 2024-04-25 00:47:42 +02:00
yuni 8553abd1fd update keybindings.in 2024-04-25 00:44:34 +02:00
yuni 1cf4d28609 fix selectagon's spontaneous rotation 2024-04-24 21:20:28 +02:00
yuni 2b07ef67d1 copy serenity station's new style to the other bus stops 2024-04-24 21:17:41 +02:00
yuni 0dda705db2 rename oscillation station to farview station 2024-04-24 21:07:29 +02:00
yuni 48b1b7b72b prettier serenity station 2024-04-24 21:04:33 +02:00
yuni 5b38b78c70 cleanup 2024-04-24 20:47:51 +02:00
yuni 9a2516aa60 move secret character 2024-04-24 20:40:52 +02:00
yuni d1dc3da34f easier targeting of small objects 2024-04-24 20:40:40 +02:00
yuni e3de0d56f7 add F2 key to toggle shadows 2024-04-24 20:40:20 +02:00
yuni 6d8341ba56 lower shadow distance 2024-04-24 20:17:37 +02:00
yuni 9c9d92bb8e add chat option about the greenness of bus stations 2024-04-24 20:13:43 +02:00
yuni 7ec5b3e493 boost AR ambient light 2024-04-24 20:08:09 +02:00
yuni b80cc9387f fix selectagon hiding 2024-04-24 20:02:51 +02:00
yuni b5878802a3 cleanup 2024-04-24 19:59:14 +02:00
yuni 4c26f2ef4f implement shadows, tweak world objects for better visibility 2024-04-24 19:54:37 +02:00
yuni f0df596ea1 better lights at pizzeria and bus stations 2024-04-24 17:27:13 +02:00
yuni 579a354f50 brighter directional illumination 2024-04-24 16:58:56 +02:00
yuni b0407135a1 better light at bus stops 2024-04-24 05:37:27 +02:00
yuni ae4a6b1f82 add mesh collider to pizza sign 2024-04-24 05:05:41 +02:00
yuni 4ea35f8a67 fix selectagon flicker for good 2024-04-24 05:05:31 +02:00
yuni 4c316e36a6 despawn asteroids only when they're 1km+ away 2024-04-24 04:37:10 +02:00
yuni 656d7f02f0 cleanup 2024-04-24 04:30:59 +02:00
yuni 343bba314c tweak Lum light 2024-04-24 04:18:05 +02:00
yuni 3ded8103d5 fix bad lighting effect 2024-04-24 04:13:36 +02:00
yuni bf62689fe2 fix inability to scale model of light sources 2024-04-24 04:13:01 +02:00
yuni 2522367026 simplify setting ambient light on hud toggle 2024-04-24 03:58:11 +02:00
yuni 90372afaef cleanup 2024-04-24 03:56:23 +02:00
yuni 366500e928 fix selectagon flickering on hud toggle 2024-04-24 03:55:45 +02:00
yuni fe89308a94 hide player coordinate in dev mode 2024-04-24 03:49:26 +02:00
yuni c57a4a13f8 give monoliths and satellite a mesh collider 2024-04-24 03:49:01 +02:00
yuni ed2d2bde07 cleanup 2024-04-24 03:08:14 +02:00
yuni be9f439d6e update chef hat AR overlay 2024-04-24 03:03:18 +02:00
yuni 69008bb91a Revert "change some settings for more convenient animation development"
This reverts commit 3a230dd3f0.
2024-04-24 02:57:23 +02:00
yuni d38bf45a9c add space suit v2 2024-04-24 02:56:39 +02:00
yuni 3a230dd3f0 change some settings for more convenient animation development 2024-04-23 19:10:03 +02:00
yuni 00a23eb0b0 WIP animated player 2024-04-23 19:08:27 +02:00
yuni 73410efc09 add comment 2024-04-23 17:45:47 +02:00
yuni e7df73d4fc more efficient(?) collider hiding 2024-04-23 17:44:22 +02:00
yuni 9c4167f6e9 move defs.txt to src/data/ 2024-04-23 17:40:16 +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 29f0850874 embed assets only in release builds 2024-04-23 15:39:46 +02:00
yuni ce65022905 despawn skeleton limbs on player death 2024-04-23 03:49:47 +02:00
yuni 7f55ca7d80 reorganized models 2024-04-22 23:36:19 +02:00
yuni 08f88f7eeb give animated suit to everybody 2024-04-22 23:28:32 +02:00
yuni 6bf2596649 move head further down 2024-04-22 23:28:22 +02:00
yuni 191d918e4f tweak legs 2024-04-22 23:25:32 +02:00
yuni 228380b9f4 refactoring 2024-04-22 23:20:42 +02:00
yuni c9adeeb94f tweak skeleton 2024-04-22 23:11:41 +02:00
yuni 44f0770226 animate suit 2024-04-22 23:09:50 +02:00
yuni bc9ff6b7a6 implement constructing suits from skeleton 2024-04-22 22:21:18 +02:00
yuni 68f274cb90 load the base of the skeleton 2024-04-22 21:11:00 +02:00
yuni a1910c4075 move model loading code into skeleton 2024-04-22 21:10:59 +02:00
yuni a12ffac841 add skeleton.rs and individual body part suit models 2024-04-22 21:10:52 +02:00
yuni c1e76d09a9 Space now resets the map camera 2024-04-22 00:07:45 +02:00
yuni 267ffc105c Yuni now patches up the player on first meet 2024-04-22 00:03:17 +02:00
yuni 6267be23cd add Yuni, orbiting Thebe 2024-04-21 23:52:29 +02:00
yuni 2d2be6bd7e cleanup 2024-04-21 21:57:59 +02:00
yuni bf87866244 cleanup 2024-04-21 21:48:02 +02:00
yuni e1d48c72a3 smaller point of interest marker 2024-04-21 21:47:04 +02:00
yuni 8e987f6d22 make MeteorAceGTs points of interest 2024-04-21 21:46:54 +02:00
yuni 556f097193 show point of interest marker only if HUD + map are active 2024-04-21 21:38:46 +02:00
yuni 00e4fb4957 add point of interest markers in AR mode 2024-04-21 21:21:34 +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 44e4c5493a move starting position closer into the ring 2024-04-20 04:57:18 +02:00
yuni 115cd1b46d tweak key bindings 2024-04-20 04:49:46 +02:00
yuni 0d9bf25f52 make map movement keys much more intuitive 2024-04-20 04:39:48 +02:00
yuni c79320d072 implement moving with AWSD in map. this allows changing target! 2024-04-20 04:19:30 +02:00
yuni 973506d335 fix rotation of 4 galileian moons 2024-04-20 03:51:04 +02:00
yuni 2c44d89c53 fix the bus dropping you off right into the sun /o\ 2024-04-20 03:27:20 +02:00
yuni 7e56f1f07b display pronouns of targets 2024-04-20 03:07:28 +02:00
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
yuni b53545ce2c minor tweaks to conversations 2024-04-12 20:10:10 +02:00
yuni 86ce38eda1 experiment: mute reaction wheels, unless inside vehicle 2024-04-11 21:42:42 +02:00
yuni b2e6ba2b77 reset velocity when waking up after bus station cryo 2024-04-11 21:30:27 +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 d0df5c5dbd implement rotation stabilizer (key Y) 2024-04-11 21:06:28 +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 2b74b50563 despawn AR overlay entities on death 2024-04-11 20:06:00 +02:00
yuni 0d312edeee fix bringing space crafts along with a bus ride 2024-04-11 02:14:36 +02:00
yuni dc1037e5a3 implement trips back to serenity station 2024-04-11 02:10:57 +02:00
yuni a3ea057994 implement trips to metis prime station and serenity station 2024-04-11 01:55:32 +02:00
yuni 9954c19d2a implement travel to Oscillation Station 2024-04-11 01:34:16 +02:00
yuni a6f6b8b582 implement bus stops (no riding yet) 2024-04-11 01:12:07 +02:00
yuni db3545e9a3 normalize mouse sensitivity across screen resolutions 2024-04-10 22:51:11 +02:00
yuni abaed74424 update second MeteorAceGT 2024-04-10 22:50:59 +02:00
yuni 5f56d63d32 Space Pizza™ chef: add chef hat AR overlay 2024-04-10 22:36:19 +02:00
yuni 86c2c5e410 typo² 2024-04-10 22:10:05 +02:00
yuni cd1f8c18cf move from mass-based to density-based definitions 2024-04-10 22:05:28 +02:00
yuni 860d7f8d4b clamp fov change with g force 2024-04-10 22:04:07 +02:00
yuni d064680d60 clippy: add AR face ^_^ 2024-04-10 21:03:30 +02:00
yuni 96b8ed22b2 clippy: balance, center 2024-04-10 18:26:49 +02:00
yuni e4c3eccb02 typo 2024-04-10 17:54:46 +02:00
yuni b3d63301cc clippy: chat 2024-04-10 17:54:43 +02:00
yuni c7b4216c57 clippy: shorter name 2024-04-10 17:52:38 +02:00
yuni b8cabe7ac1 add Clippy™ Convenience Drone 2024-04-10 17:48:07 +02:00
yuni cccef60090 better lightyear formatting 2024-04-08 04:42:04 +02:00
yuni ac9ee34e1f delta v actually displays the relative velocity now 2024-04-08 04:37:58 +02:00
yuni 48e54265f9 simplify 2024-04-08 04:28:19 +02:00
yuni 2ae05214f6 normalize planet sizes, make jupiter clickable 2024-04-08 04:17:45 +02:00
yuni 3ed8a9b8b0 smaller FoV when zooming 2024-04-08 04:16:01 +02:00
yuni ba09e1c378 Revert "add Saturn. it's tiny."
This reverts commit 5f57888b83.
2024-04-08 03:28:56 +02:00
yuni 5f57888b83 add Saturn. it's tiny. 2024-04-08 03:28:28 +02:00
yuni c9f7422af1 fix unit conversion with negative distances 2024-04-08 03:15:54 +02:00
yuni e95f019f3f tweak fov, mouse sensitivity 2024-04-08 03:15:45 +02:00
yuni 0b0fd5664d more readable g force display 2024-04-08 03:05:46 +02:00
yuni b72a596559 fix distance display, and autoconvert large numbers to other units 2024-04-08 03:05:39 +02:00
yuni 1c9bcd7208 adapt FoV to g force rather than speed 2024-04-08 02:36:47 +02:00
yuni 98dad7dee4 boost hud refresh rate 2024-04-08 02:26:23 +02:00
yuni 9881154489 correctly show unknown star distances 2024-04-08 02:26:14 +02:00
yuni 58bd34cfd0 smoother camera movement 2024-04-08 02:19:33 +02:00
yuni 0e5711f229 higher sensitivity during zoom 2024-04-08 02:17:36 +02:00
yuni ca89a6eaff disable "sleeping" of actors in physics engine 2024-04-08 02:15:58 +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 db6f9a1548 optimization 2024-04-08 01:14:08 +02:00
yuni 55f0c6c607 correct sun distance display 2024-04-08 01:13:31 +02:00
yuni 9f15e78e07 show actual names of stars when targeting them 2024-04-08 01:08:32 +02:00
yuni 81187b4fe6 make stars clickable 2024-04-08 00:39:57 +02:00
yuni 36859f6bb6 start in BorderlessFullscreen instead of Fullscreen by default
this fixes a crash on some windows machines
2024-04-08 00:24:03 +02:00
yuni 17f44664e5 implement fullscreen toggle key F11 2024-04-08 00:23:55 +02:00
yuni c8cfc9ac15 better function name 2024-04-07 20:02:31 +02:00
yuni af00a49f8d cleanup 2024-04-07 18:37:14 +02:00
yuni f19f343f54 faster asteroid loading... maybe 2024-04-07 18:35:37 +02:00
yuni 8ef538bac3 cleanup 2024-04-07 17:59:40 +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 1f1e388816 set real mass of thebe, reduce its angular momentum 2024-04-05 23:49:20 +02:00
yuni 91875436bc cleanup 2024-04-05 23:42:02 +02:00
yuni a0514de123 allow zooming only when AR is on 2024-04-05 23:38:27 +02:00
yuni 0f8ef18123 implement zooming on right click 2024-04-05 23:38:20 +02:00
yuni b91effd5b2 update comment 2024-04-05 23:11:10 +02:00
yuni e44ecaabcd fix overshoot calculation when matching velocity 2024-04-05 23:10:40 +02:00
yuni 704c249091 show distance to marked object 2024-04-05 22:51:54 +02:00
yuni dc077ca141 targeting now only works in AR 2024-04-05 22:43:14 +02:00
yuni 9c5a61767a enlarge selectagon to a minimum angular diameter 2024-04-05 22:30:43 +02:00
yuni 36eb5a000e add selectagon around target 2024-04-05 22:16:01 +02:00
yuni f682f1d6c0 allow reuse of angular diameter calculation code 2024-04-05 22:06:58 +02:00
yuni 5de4b0bac3 move targeting code into an event handler 2024-04-05 21:27:35 +02:00
yuni b700e0fe24 implement matching velocity with targeted object 2024-04-05 20:58:37 +02:00
yuni 2f65c652c8 better targeting handling 2024-04-05 20:38:50 +02:00
yuni 974de97ded play click SFX when targeting 2024-04-05 20:28:53 +02:00
yuni 9694ebfecd base the maximum targeting angle on the angular diameter of the object 2024-04-05 20:28:28 +02:00
yuni d8e106c497 exclude player from IsClickable query, add name to MeteorAceGT 2024-04-05 20:10:58 +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 96d1169eb9 remove unnecessary clone() 2024-04-05 19:59:53 +02:00
yuni df541e85a9 chat initiation now finds people you look at, not anyone nearby 2024-04-05 19:58:27 +02:00
yuni 4512b63681 generalize with generics 2024-04-05 19:34:01 +02:00
yuni d90c2f82a6 refactoring 2024-04-05 19:18:49 +02:00
yuni 1906366463 implement targeting based on player orientation 2024-04-05 19:03:50 +02:00
yuni a37ba60eaf WIP targeting world objects with mouse click 2024-04-05 18:14:26 +02:00
yuni 89984023e9 clear log on death 2024-04-05 05:13:09 +02:00
yuni 634482fb73 despawn chat on death 2024-04-05 05:10:03 +02:00
yuni 28212c6316 typo 2024-04-05 05:05:58 +02:00
yuni 6280d2bf11 fix Icarus conversation 2024-04-05 04:42:00 +02:00
yuni 2f2b1baec3 give monoliths a max rotation 2024-04-05 04:23:17 +02:00
yuni 0855aec475 fix SpacePizza™'s position 2024-04-05 04:16:40 +02:00
yuni 7130d1e684 add static clock to HUD 2024-04-05 04:08:26 +02:00
yuni e577a5084c vehicles protect from damage now, though not perfectly 2024-04-05 03:53:20 +02:00
yuni df9f47c427 fade in from maroon red color when dying/respawning 2024-04-05 03:49:29 +02:00
yuni 61c7cffcef implement damage on low oxygen and collisions 2024-04-05 03:31:52 +02:00
yuni ae2fcf2525 cleanup 2024-04-05 02:58:17 +02:00
yuni 23bceebc79 implement player respawn with "z" key 2024-04-05 02:58:12 +02:00
yuni cea7289460 decelerate satellite (not sure how to explain its thrust yet :X) 2024-04-05 01:57:54 +02:00
yuni 93cc607613 add velocity command 2024-04-05 01:55:40 +02:00
yuni e29a8abebf tweak icarus 2024-04-05 01:50:03 +02:00
yuni 6b6cdccee7 change WantsNo* to WantsMax*, cuz Icarus likes to rotate a bit 2024-04-05 01:42:50 +02:00
yuni 64423630da update chat regarding main ring 2024-04-05 01:22:49 +02:00
yuni 9195a5a26b add engine & no{velocity,rotation} to SpacePizza™ 2024-04-05 01:21:57 +02:00
yuni 5d52d3cdf4 add "wants novelocity" command to icarus 2024-04-05 01:19:46 +02:00
yuni 83de08034a add "wants norotation" command to satellite and icarus 2024-04-05 00:54:58 +02:00
yuni beb241e9d6 add huge communications satellite 2024-04-05 00:32:42 +02:00
yuni c38b1288fd tweak cheat keys 2024-04-05 00:23:14 +02:00
yuni 720b39e09a tweak ring appearance & player location 2024-04-05 00:23:01 +02:00
yuni 677ad09e84 tweak text 2024-04-04 20:01:54 +02:00
yuni b63d2e716b fixed message timings 2024-04-04 19:09:10 +02:00
yuni 2cf3ff5595 changed Icarus' position so you see it from the start 2024-04-04 19:08:54 +02:00
yuni 46c2b910a8 remove "Requesting permission to communicate" to speed up dialogs 2024-04-04 19:03:30 +02:00
yuni 3106218f5f make Icarus much more wholesome 2024-04-04 19:02:17 +02:00
yuni a7003f6f00 fix thebe position 2024-04-04 18:54:03 +02:00
yuni 016b948967 fix chat logic 2024-04-04 18:53:52 +02:00
yuni ea6243ec12 better debug messages 2024-04-04 18:53:32 +02:00
yuni b1c78e4ccb move send reply code to chat.rs 2024-04-04 18:53:20 +02:00
yuni 8f380a6773 split off chat logic from hud.rs into chat.rs 2024-04-04 13:40:56 +02:00
yuni ca7d2facd9 split off chat logic from actor.rs into new chat.rs 2024-04-04 13:34:13 +02:00
yuni 39e852817a fix vehicle exit... maybe? seems to have a random element... 2024-04-03 14:48:23 +02:00
yuni 5b1d6588f9 properly mute reaction wheel sounds 2024-04-03 14:27:44 +02:00
yuni d4ddead644 enter vehicles with E instead of Q, make E the "interact" key 2024-04-03 14:21:47 +02:00
yuni 85a404e49a change BGM to "Cinematic Cello" by Aleksey Chistilin 2024-04-03 14:21:28 +02:00
yuni 8884999074 adjust exit distance to vehicle size 2024-04-03 13:53:49 +02:00
yuni 0142d6d77b fix vehicle visibility when exiting 2024-04-03 12:27:43 +02:00
yuni 8531a9b8c1 fix position/rotation after exiting vehicle 2024-04-03 12:26:56 +02:00
yuni 2f060a3250 Revert "position objects for itch.io teaser screenshot"
This reverts commit b03fccf6d5.
2024-04-03 00:40:19 +02:00
yuni b03fccf6d5 position objects for itch.io teaser screenshot 2024-04-03 00:40:00 +02:00
yuni e00d891150 expose speed cheats outside of dev mode 2024-04-02 17:27:06 +02:00
yuni 910d1b4407 fix despawning of scenes (fixes framerate drop after traveling far) 2024-04-02 17:17:31 +02:00
yuni 9802a09478 add thebe moon 2024-04-02 16:37:05 +02:00
yuni 1498d95b5b remove debug output 2024-04-02 16:19:49 +02:00
yuni 868668ab43 remove debug code 2024-04-02 07:22:55 +02:00
yuni d3df885e65 nicer Io position 2024-04-02 07:19:38 +02:00
yuni e49ff28640 better display of coordinates 2024-04-02 07:17:56 +02:00
yuni 591db70d08 base asteroid density on actual ring density 2024-04-02 07:09:46 +02:00
yuni be55433376 update asteroids only when changing cell 2024-04-02 05:59:33 +02:00
yuni 3ea2f3bc3a use fastrand for better asteroid distribution 2024-04-02 05:51:50 +02:00
yuni 0e18067024 tweaking asteroids 2024-04-02 05:41:12 +02:00
yuni e3e67b0c6f on-the-fly asteroid generation 2024-04-02 05:12:53 +02:00
yuni adb9f4b971 added asteroid generation function that generates across the rings 2024-04-02 02:30:14 +02:00
yuni 8e26208559 move player back to the outside of the rings. jupiter too large. 2024-04-02 01:33:00 +02:00
yuni 36f99d8215 tweak rings 2024-04-02 01:29:16 +02:00
yuni 6d3a0da314 1000x speed boost with v/b cheats when holding shift 2024-04-02 01:14:18 +02:00
yuni 8b7ccc1b58 fix planet/moon sizes 2024-04-02 01:14:05 +02:00
yuni 0e80bdb732 double moon sizes 2024-04-02 01:07:30 +02:00
yuni 2d7b787593 realistic sizes and distances for everything 2024-04-02 01:07:22 +02:00
yuni 53dceeb6aa add orbit command 2024-04-02 01:06:33 +02:00
yuni cfbd23f485 fix despawning of scene-based asteroids, turn them back from spheres to scenes 2024-04-01 23:54:56 +02:00
yuni 3f89826acb tweak asteroid parameters 2024-04-01 21:07:28 +02:00
yuni bbad89e1fb WIP despawning asteroids... for some reason, scenes can't despawn 2024-04-01 20:52:57 +02:00
yuni a78d4b0387 handle parents in position_to_transform, like in bevy_xpbd 2024-04-01 20:38:28 +02:00
yuni adeb207919 add 'b' key cheat to fly backwards quickly 2024-04-01 20:37:32 +02:00
yuni 65c911d4dd update cheat teleport coordinates 2024-04-01 20:01:11 +02:00
yuni 84747e1c3a add CENTER_WORLD_ON_PLAYER constant 2024-04-01 19:20:31 +02:00
yuni b583970a88 add note about parent objects not being supported 2024-04-01 19:17:08 +02:00
yuni 68cc65a2eb split off asteroid generation and spawning 2024-04-01 18:33:31 +02:00
yuni 5c50ac33e3 move global illumination from world.rs to camera.rs 2024-04-01 18:06:52 +02:00
yuni 71d926ec0f fix positions of asteroids 2024-04-01 18:01:51 +02:00
yuni 5889aed6fa place remaining objects relative to jupiter 2024-04-01 17:55:58 +02:00
yuni 911d194b53 place most objects relative to player 2024-04-01 17:55:51 +02:00
yuni de2886f7e9 implement "relativeto" command 2024-04-01 17:45:28 +02:00
yuni 5894a2443c center coordinate system of renderer at player camera
this avoids rendering glitches when camera is far away from the center
of the coordinate system.
2024-04-01 17:19:43 +02:00
yuni 8fbbcc3708 switch bevy_xpbd physics engine to 64bit precision
in preparation for enlargement of coordinate system to match real scale
2024-04-01 16:29:14 +02:00
yuni f346624aff more compact hud 2024-04-01 15:41:45 +02:00
yuni 7b172058bb add adrenaline jolt on collisions 2024-04-01 06:24:29 +02:00
yuni f70c12a3c6 add cheat codes in dev mode 2024-04-01 05:38:32 +02:00
yuni efc840b031 cleanup skybox/ar-toggle 2024-04-01 05:05:18 +02:00
yuni 7a3d38fc78 cleanup 2024-04-01 05:04:11 +02:00
yuni fafb73a463 triple moon size, for now, to see them better 2024-04-01 04:47:34 +02:00
yuni dbc0e9b1b9 accurate values for moon sizes and distances 2024-04-01 04:43:44 +02:00
yuni 0e1761855b cleanup 2024-04-01 03:58:32 +02:00
yuni 394390a4d6 more realistic ring density function 2024-04-01 03:21:12 +02:00
yuni 2121642b92 first attempt at jovian ring with shader 2024-04-01 02:05:38 +02:00
yuni 83b44d4dbc WIP ring effect 2024-04-01 00:48:59 +02:00
yuni 5edc05df89 cleanup 2024-03-31 22:08:26 +02:00
yuni d12585b28b split off command parser into commands.rs 2024-03-31 22:00:34 +02:00
yuni 0662f88fdd play collision sound only on start of collision 2024-03-31 05:13:21 +02:00
yuni 852dd79657 better reaction wheel sound 2024-03-31 05:13:13 +02:00
yuni 61e02ed6ca disable pizza sign angular momentum 2024-03-31 04:12:41 +02:00
yuni 3f7bbeec80 add second MeteorAceGT behind pizza place 2024-03-31 04:11:49 +02:00
yuni cc198f5465 add "light" command, add cozy illumination to pizza place 2024-03-31 04:10:54 +02:00
yuni b655a04ff5 remove collider mesh for now, getting warnings from bevy_xpbd 2024-03-31 03:26:31 +02:00
yuni fb3897801c move up MeteorAceGT 2024-03-31 03:19:58 +02:00
yuni d5b98644dd slow down angular velocity based on reaction wheel speed 2024-03-31 03:19:15 +02:00
yuni 2411430799 apply smooth torque rather than "teleport" when rotating player 2024-03-31 03:09:40 +02:00
yuni ac3b17badf add "collider mesh" command, generating the collider from the scene 2024-03-31 01:35:45 +01:00
yuni 7b04a41177 add reaction wheel sound 2024-03-31 01:35:37 +01:00
yuni 1f79610476 add the 4 Galilean moons Io, Europa, Ganymede, Callisto 2024-03-31 00:25:28 +01:00
yuni ccd993a4fe load jupiter from a texture rather than scene 2024-03-31 00:18:49 +01:00
yuni 1f046fe8c3 change player starting rotation 2024-03-30 23:18:33 +01:00
yuni cab5c8eaf5 fix angularmomentum command 2024-03-30 23:18:29 +01:00
yuni 0f375fab64 add collisions to asteroids, reduce count from 8k to 512 2024-03-30 22:59:18 +01:00
yuni 0dca723eaf remove test monolith 2024-03-30 22:47:31 +01:00
yuni 237cc6c1b8 fix flicker in fade in effect (hopefully) 2024-03-30 22:36:04 +01:00
yuni 54cb36d8cb cleanup hud 2024-03-30 22:35:00 +01:00
yuni 9975d8b2bf smoother handling of vehicle entrance/exits, also fixes adrenaline 2024-03-30 22:31:07 +01:00
yuni 97640c383c add a cozy fade-in from black on start 2024-03-30 21:14:04 +01:00
yuni 346239ae6d add log level "Notice", hide startup messages 2024-03-30 20:11:27 +01:00
yuni 19de229bb2 restore jupiter, add "physics off" command 2024-03-30 19:57:35 +01:00
yuni de8eb23d91 add some missing commands 2024-03-30 19:54:01 +01:00
yuni 40cb0d6398 remove unused import 2024-03-30 19:52:01 +01:00
yuni 7d36200a24 fix camera jitter~ 2024-03-30 19:51:41 +01:00
yuni a0577f4e7e fix mouse movement when player has high angular velocity 2024-03-30 19:50:07 +01:00
yuni 3d5385bd73 more appropriate masses 2024-03-30 19:47:47 +01:00
yuni c040dbb332 fix default suit integrity 2024-03-30 19:39:53 +01:00
yuni 257094dc8e add jilk+uo keys for mouseless camera control 2024-03-30 19:36:43 +01:00
yuni 6703431ac6 fix pizzeria mass 2024-03-30 19:15:11 +01:00
yuni 4b13530e4a implement rotation key "r" 2024-03-30 19:14:59 +01:00