Commit graph

417 commits

Author SHA1 Message Date
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
yuni d073eb067c fix engine thruster direction 2024-03-30 18:58:45 +01:00
yuni 15781d2175 fix flicker when toggling 3rd person camera 2024-03-30 18:57:46 +01:00
yuni 3472be43b0 spawn the player a bit outside the vehicle 2024-03-30 18:54:29 +01:00
yuni 80aed73264 will this help with vehicle exiting? still seems random... 2024-03-30 18:51:21 +01:00
yuni 26b974ea16 better camera jitter avoidance
as described here: https://docs.rs/bevy_xpbd_3d/latest/bevy_xpbd_3d/index.html#why-does-my-camera-following-jitter
2024-03-30 18:50:53 +01:00
yuni ce8f4666c5 trying to fix player "teleportation" on vehicle exiting... 2024-03-30 18:48:33 +01:00
yuni 962f73f522 stop physics simulation of original model when entering vehicle 2024-03-30 18:05:22 +01:00
yuni b590c4de44 fix collision sfx while in vehicles 2024-03-30 18:04:57 +01:00
yuni af2f43b9f9 fix hud speed display 2024-03-30 17:19:11 +01:00
yuni e15cf6791f fix new camera control system to work with vehicles 2024-03-30 17:05:46 +01:00
yuni 3f656924e1 non-shaky camera updates (especially while moving fast) 2024-03-30 16:53:26 +01:00
yuni 7431c4f594 refactoring camera::run_camera_controller 2024-03-30 16:41:29 +01:00
yuni 6e3d958638 mouse movement now changes player orientation relatively, not absolutely 2024-03-30 16:32:42 +01:00
yuni 0456b8506c add settings.mouse_sensitivity 2024-03-30 16:27:56 +01:00
yuni b945d7bda7 add camera::sync_camera_to_player function, fixing cam alignment 2024-03-30 16:26:19 +01:00
yuni bee0d98ae1 explicitly set tonemapping to TonyMcMapface 2024-03-30 15:50:49 +01:00
yuni a5c796d491 tinkering on 3rd person mode 2024-03-30 15:43:48 +01:00
yuni b78340dd1a implement 3rd person view, flexible attachment of camera to actors 2024-03-29 19:41:46 +01:00
yuni bb73b1ed1d implement collider/mass commands 2024-03-29 18:20:12 +01:00
yuni 349e38e848 cleanup 2024-03-29 17:22:54 +01:00
yuni f0739606ad less debug info 2024-03-29 17:21:46 +01:00
yuni 9534504b20 cleanup 2024-03-29 17:18:43 +01:00
yuni c390a18ae5 add crash sound on collision 2024-03-29 16:58:42 +01:00
yuni c6b8d21c54 disable downward gravity.... =D 2024-03-29 16:39:37 +01:00
yuni 25db91f39e implement controls and basic collisions 2024-03-29 16:33:12 +01:00
yuni 198da2c850 Let's try out bevy_xpbd_3d. Added it as dependency. 2024-03-29 16:15:26 +01:00
yuni 79edffccc1 place a couple of mysterious monoliths 2024-03-29 14:19:57 +01:00
yuni 477794f95c add rotationx command 2024-03-29 14:19:18 +01:00
yuni 62abacf648 add sound for ion engine 2024-03-29 04:36:46 +01:00
yuni 2b4fd9e5b5 cleanup 2024-03-29 03:31:15 +01:00
yuni b3885aa4b6 come to a full stop when braking while slow 2024-03-29 03:30:03 +01:00
yuni 0717495d57 fix slow braking 2024-03-29 02:49:16 +01:00
yuni dd49906cce clamp input vector, allowing slow motion while holding space
In typical games we would normalize the input vector so that diagonal
movement is as fast as forward or sideways movement.  But here, we
merely clamp each direction to an absolute maximum of 1, since every
thruster can be used separately. If the forward thrusters and the
leftward thrusters are active at the same time, then of course the total
diagonal acceleration is faster than the forward acceleration alone.
2024-03-29 02:41:05 +01:00
yuni 8f682ee5b6 cleanup 2024-03-29 02:40:55 +01:00
yuni ac747ac9c3 stop key now breaks with proper engine physics 2024-03-29 02:21:28 +01:00
yuni add6605a9a WIP stop key 2 2024-03-29 01:55:23 +01:00
yuni 65c843f55f WIP stop key 2024-03-29 01:40:58 +01:00
yuni b96eb701ab cleanup 2024-03-29 01:31:02 +01:00
yuni 57d651ad04 cleanup 2024-03-29 01:19:37 +01:00
yuni 33bb26b8e1 cleanup 2024-03-29 01:13:28 +01:00
yuni 73d96aa69c cleanup 2024-03-29 00:14:01 +01:00
yuni 880f92611a fix up/downward thrusters 2024-03-29 00:09:00 +01:00
yuni 4111f16454 add engine warm up time 2024-03-29 00:03:10 +01:00
yuni a25b249bb8 enlarge the FoV at high adrenaline 2024-03-28 23:38:41 +01:00
yuni 1486b6749a gain adrenaline at high velocity 2024-03-28 23:13:59 +01:00
yuni bbf4f468cd add m/s + km/h display 2024-03-28 23:09:08 +01:00
yuni 427a3cb182 add --version option 2024-03-28 22:34:16 +01:00
yuni 5e9dbf0344 unmute sfx in cargo run by default 2024-03-28 20:54:34 +01:00
yuni e1bcb9bb7a remove wakeup sound at start 2024-03-28 20:54:28 +01:00
yuni 0b193e53ad fix text box position 2024-03-28 20:53:54 +01:00
yuni 4602ee0504 cleanup 2024-03-28 20:49:57 +01:00
yuni ee58302156 cleanup bloom code in hud 2024-03-28 20:47:41 +01:00
yuni 2eb00d025d add toggleable reticule to HUD 2024-03-28 20:47:18 +01:00
yuni 99fd2ec750 cleanup 2024-03-28 20:35:54 +01:00
yuni 44ec500ce7 remove radio when hud is active (mainly to remove all nonfree assets) 2024-03-28 20:03:51 +01:00
yuni 6eb126d4c1 change BGM to Dead Space Style Ambient Music by Sharvarian 2024-03-28 19:59:57 +01:00
yuni 0a37e523b6 document vehicle enter/exit key in README, change to q 2024-03-28 17:25:57 +01:00
yuni f8d0c87664 renamed bike to MeteorAceGT 2024-03-28 17:25:35 +01:00
yuni c25f627a22 better bike model, angled side thrusters allow backward motion 2024-03-28 17:18:54 +01:00
yuni 8bc80b3c6c implement exiting vehicles 2024-03-28 16:33:40 +01:00
yuni 8c3fa09b5c add bike start sound when entering vehicle 2024-03-28 16:02:25 +01:00
yuni f4aea80f34 add rocket sound effect for bike 2024-03-28 14:14:49 +01:00
yuni cc285a7548 implement actor ids, actor oxygen tanks, clamp harvested oxygen
Conflicts:
	src/world.rs
2024-03-28 13:33:40 +01:00