Commit graph

481 commits

Author SHA1 Message Date
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