Commit graph

928 commits

Author SHA1 Message Date
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
yuni 10acb83b83 cleanup 2024-05-10 12:24:53 +02:00
yuni c2ee7ee3e1 better aiming in 3rd person mode 2024-05-08 18:40:01 +02:00
yuni 6f1cdbc931 update in-game key binding list 2024-05-08 16:38:10 +02:00
yuni 249b937f68 hide suit integrity gauge 2024-05-08 06:42:45 +02:00
yuni c2124180f6 change flashlight sound to "switch" 2024-05-08 06:42:35 +02:00
yuni 83966bf452 selectagon rotation -> camera's "up" vector. started flickering a bit 2024-05-08 05:55:53 +02:00
yuni d44d171a1c rename Racer to Cruiser 2024-05-08 05:50:35 +02:00
yuni 77bc975a6a turn off flashlight on death 2024-05-08 05:47:37 +02:00
yuni f78052f5ed better leaky suit dashboard symbol 2024-05-08 05:47:23 +02:00
yuni 626c685003 add dashboard icon for leaky suit 2024-05-08 05:17:47 +02:00
yuni 0ba64421d7 add racing vehicle gtlf file 2024-05-08 04:22:38 +02:00
yuni 0023bb9e24 WIP new, more balanced racing vehicle 2024-05-08 03:22:46 +02:00
yuni 9304c6fd7f tune up the horsepower of MeteorAceGT until it hurts 2024-05-08 02:50:59 +02:00
yuni 35a0d51dfb battery drain on flashlight 2024-05-08 02:35:36 +02:00
yuni f79b5deb04 don't update HUD if it's turned off 2024-05-08 01:38:29 +02:00
yuni 1140e1eaca move g-force gauge to speedometer 2024-05-08 01:35:28 +02:00
yuni 4b9ed44dd4 less frequent updating of speedometer, dashboard, gauges 2024-05-08 01:20:22 +02:00
yuni 406bd79877 apply square-root scaling to oxygen meter 2024-05-08 01:18:09 +02:00
yuni c1755b87bf remove most written information from top-left part of HUD 2024-05-08 01:18:01 +02:00
yuni 0a4e3c3006 cleanup 2024-05-08 01:00:58 +02:00
yuni a8d824ad16 add symbols to gauges 2024-05-08 01:00:06 +02:00
yuni 99c32ce516 use actual data for gauges 2024-05-08 00:33:49 +02:00
yuni c38fcaa8dd clamp suit integrity at 0%-100% 2024-05-08 00:32:20 +02:00
yuni dc0d4be8ea add update_gauges system (dummy data for now) 2024-05-08 00:24:36 +02:00
yuni 32e5c2258c WIP: add gauges to the HUD on the bottom left 2024-05-08 00:16:30 +02:00
yuni db5fdd5a35 move speedometer to the right 2024-05-08 00:15:34 +02:00
yuni 310f977fb6 add gauge sprites 2024-05-07 23:33:33 +02:00
yuni 60309f84a0 update mapcam.center fast enough to avoid flicker on moving target 2024-05-07 22:05:24 +02:00
yuni 875e27ccf1 more responsive player input (hopefully?) 2024-05-07 21:44:23 +02:00
yuni 0f5c4d1d89 remove CENTER_WORLD_ON_PLAYER feature flag (always enabled now) 2024-05-07 21:33:15 +02:00
yuni ddf197c057 pack.sh: refuse to run if there are uncommited assets 2024-05-07 21:21:43 +02:00
yuni c1b071996a make Rudy more visible 2024-05-07 21:09:07 +02:00
yuni eaddfcd8cc disable shadows on selectagon 2024-05-07 21:05:51 +02:00
yuni 1dadfd5770 desaturate parts of dashboard icon, make it look more bloomy 2024-05-07 21:02:42 +02:00
yuni 7d31a95a7c show dashboard icon when flashlight is active 2024-05-07 20:54:24 +02:00
yuni b4441f6715 add car dashboard icon for high beams 2024-05-07 20:43:14 +02:00
yuni c363aa41b1 fix NoShadowCaster/Receiver with loaded gltf scenes 2024-05-07 19:38:19 +02:00
yuni 6e92e37cdf turn off flashlight when entering vehicle 2024-05-07 19:13:49 +02:00
yuni 0c1393290e fix suit damage on collisions outside of vehicles 2024-05-07 19:07:32 +02:00
yuni 79673e5ec5 fix collision sounds 2024-05-07 19:07:24 +02:00
yuni f9fcb885fa remove light orbs from inconspicuous asteroid - use flashlight now 2024-05-07 18:08:05 +02:00
yuni 8627934993 swap flashlight/camera keys. F=flashlight, H=3rd person mode 2024-05-07 17:51:30 +02:00
yuni e08339ad5e add key to toggle flashlight, fix flashlight in 1st person mode 2024-05-07 17:11:18 +02:00
yuni f88d063beb add spotlight to player 2024-05-07 15:35:47 +02:00
yuni 358938631f much better Jupiter texture 2024-05-04 03:00:56 +02:00
yuni 7cfd4377c7 s/Coffee/Soykaf/ 2024-05-02 19:12:10 +02:00
yuni a4ee4a60ef allow teleporting to other stars, though this kinda breaks the game
but seeing the night sky from so far away is truly magical
2024-05-02 01:43:16 +02:00
yuni d2970d0ffb fix star positions during large-scale map movement 2024-05-02 01:36:06 +02:00
yuni e750ca93ad fix audio not playing on startup 2024-05-01 23:01:41 +02:00
yuni aed356c380 more documentation for generate_starchart.py 2024-05-01 22:52:41 +02:00
yuni e8c0f7f6fa less AR ambient light 2024-05-01 22:26:02 +02:00
yuni b695ba7701 fix floating point errors in map mode on far away targets 2024-05-01 22:18:15 +02:00
yuni 591b4a4f46 move actor::position_to_transform to camera module 2024-05-01 21:50:59 +02:00
yuni e361b1f493 cleanup 2024-05-01 21:50:16 +02:00
yuni cd515d0e87 give the planets an accurate axial tilt 2024-05-01 21:42:17 +02:00
yuni fc017dcd43 change angle specification for rotation* commands to degrees 2024-05-01 21:25:33 +02:00
yuni 632d1b02c9 set actual scale of planets, though now they glitch on close zoom-in
this is due to floating point precision error, need to move render
origin to the center of the camera
2024-05-01 21:13:49 +02:00
yuni 9ba8b42b2c remove Pluto's status as a planet 2024-05-01 21:01:32 +02:00
yuni 70cf0920e9 add textures for remaining 7 planets 2024-05-01 21:00:46 +02:00
yuni bca15ad5ff move WIP cultist asteroid further away 2024-05-01 19:11:41 +02:00
yuni fea8b656e0 consolidate planet/moon definitions into single block 2024-05-01 19:07:14 +02:00
yuni 54624d6aac add planet names 2024-05-01 18:59:03 +02:00
yuni d02a6fac90 enable HUD and third person mode by default 2024-05-01 18:50:46 +02:00
yuni 2672793df4 give planets a different, smaller marker 2024-05-01 18:07:51 +02:00
yuni 2cb9f10f4b mark solar system planets (and pluto) the same way as moons 2024-05-01 17:55:05 +02:00
yuni fd90c1b2f0 add special point-of-interest markers for moons 2024-05-01 17:43:16 +02:00
yuni aa95f894ad move Metis Prime station in dynamic orbit behind Metis 2024-05-01 17:21:05 +02:00
yuni 6741c3f189 disable point lights on bus stations for performance reasons 2024-05-01 17:20:37 +02:00
yuni c9b6e0b0e1 thinner metis notch 2024-05-01 17:17:56 +02:00
yuni 4c369d7a32 add handcrafted collider for the whale 2024-05-01 17:17:43 +02:00
yuni 753aa93127 adjust reaction wheels of vehicles 2024-05-01 05:21:27 +02:00
yuni cfadb5e2bf start dev mode only when run with cargo. remove "mute_music" feature 2024-05-01 05:01:11 +02:00
yuni b00c583d4d faster rotation stabilizer 2024-05-01 04:02:04 +02:00
yuni 66920f44e9 fewer asteroids (for performance reasons, due to shadows) 2024-05-01 03:52:08 +02:00
yuni 95645e4ab1 add hollow asteroid under construction 2024-05-01 03:36:54 +02:00
yuni 35b56c2295 tweak player reaction wheel speed 2024-05-01 03:19:08 +02:00
yuni a9fc27ac27 better g-force calculation 2024-05-01 00:58:58 +02:00
yuni 678b0c39e1 change HUD colors to neon red/pink 2024-05-01 00:51:50 +02:00
yuni c59f8242c9 lower illuminance from the sun 2024-05-01 00:44:47 +02:00
yuni b614f723c8 use hexadecimal color values for hud_color* settings 2024-04-30 23:47:26 +02:00
yuni 2d97ed1416 move Preferences struct under Settings struct 2024-04-30 23:42:48 +02:00
yuni 3a0b3dc1c3 actually apply the preferences from the .toml file 2024-04-30 23:41:37 +02:00
yuni c56ae18f5a move outfly.toml to src/data/ 2024-04-30 23:24:38 +02:00
yuni 00ce509935 track the source of the preferences 2024-04-30 23:15:55 +02:00
yuni 4b5aba86d1 Revert "switch from toml to ini as config file for simplicity"
This reverts commit 8da20abff8.
2024-04-30 22:55:12 +02:00
yuni 8da20abff8 switch from toml to ini as config file for simplicity 2024-04-30 22:41:14 +02:00
yuni d65d3b2aec read preferences from outfly.toml 2024-04-30 22:38:54 +02:00
yuni 03563ad955 shrink humans down to actual size 2024-04-30 01:26:59 +02:00
yuni 115b9d4538 move thebe closer to player 2024-04-30 01:12:26 +02:00
yuni 55d9822bf3 fix thebe position regardless of real time clock 2024-04-30 01:08:26 +02:00
yuni cb59b8fc7f make moons orbit prograde instead of retrograde 2024-04-30 01:03:45 +02:00
yuni 15bd02f6f8 implement "orbit_phase_offset" command 2024-04-30 00:56:41 +02:00
yuni 7f5894f9f7 set moon orbit phases according to real time clock 2024-04-30 00:37:19 +02:00
yuni ca63fb5e03 bundle CHANGELOG.md with release zips 2024-04-29 15:57:37 +02:00
yuni 8a86514e31 add LICENSE.md 2024-04-29 15:44:02 +02:00
yuni 419d38c616 add README.md to src/build/nix/ 2024-04-29 14:55:34 +02:00
yuni 8a617cc844 bikeshed directory locations 2024-04-29 14:50:15 +02:00
yuni 82fd1313b2 hide speedometer text when speed is 0 2024-04-28 06:40:11 +02:00
yuni 133fa9122f add speedometer text 2024-04-28 06:29:01 +02:00
yuni 21df9da95c add second speedometer for very high speeds 2024-04-28 05:42:00 +02:00
yuni 54da276091 add speedometer 2024-04-28 03:15:45 +02:00
yuni 310be85e05 add better reticule, properly toggle visibility 2024-04-28 03:15:20 +02:00
yuni fc4cc8cdad add sprite reticule 2024-04-28 01:33:27 +02:00
yuni 53ada82a02 move moonlet so you don't start the game in the shadows 2024-04-27 18:59:01 +02:00
Akshay Mankar 8b6e2a4d92
build/nix: Make wayland a build dependency 2024-04-27 16:51:20 +02:00
yuni ef53da1580 change feature set for nix build to "release_linux" 2024-04-27 15:59:30 +02:00
Akshay Mankar 30ab2d3e6e
build/nix: Put runtime deps in rpath 2024-04-27 15:11:42 +02:00
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