yuni
c8825fb99b
battery lasts 10x as long (for flashlight)
2024-06-17 01:58:59 +02:00
yuni
3b82ed22a3
clear target when entering targeted vehicle
2024-06-16 23:58:41 +02:00
yuni
6275a64d7c
ignore gravity when calculating g forces
...
Because gravity is obviously not a force, just a ✨ magical✨ property of
spacetime, conveyed by messenger particles called Higgs Bosons which act
as force carriers for this non-force. Who made this up? :D
2024-06-11 03:29:50 +02:00
yuni
3d26b0915d
add Id2V resource, "wants matchvelocitywith" command
2024-06-11 02:46:31 +02:00
yuni
77c1bd1e6a
add game::JupiterPos resource
2024-06-11 00:58:56 +02:00
yuni
cd13b529c3
base handle_wants_maxvelocity
on current orbital velocity
2024-06-11 00:50:25 +02:00
yuni
76272a7fc2
add "target_velocity" var to handle_wants_maxvelocity()
2024-06-11 00:05:03 +02:00
yuni
e16a650b22
apply gravity towards Jupiter for objects orbiting Jupiter
2024-06-10 23:19:33 +02:00
yuni
e56f931951
ignore gforce for 0.01s on startup, to survive a large starting velocity
2024-06-10 23:19:33 +02:00
yuni
099e935e3e
avoid errors during player death
2024-05-23 05:01:53 +02:00
yuni
224e0ce2c9
cleanup, add TODO
2024-05-23 01:26:24 +02:00
yuni
bfad39613e
better value for "up" vector
2024-05-23 00:59:33 +02:00
yuni
e9afeefb7d
fix "want to look at player" for when player rides a vehicle
2024-05-23 00:56:12 +02:00
yuni
91d19e94a0
implement preferred looking direction for NPCs
2024-05-23 00:31:31 +02:00
yuni
8a07e9cfb7
cleanup
2024-05-22 23:54:11 +02:00
yuni
bcba3d0945
cleanup
2024-05-22 23:33:37 +02:00
yuni
8acbd4f33b
unify rotation stabilizer of players and npcs
2024-05-22 23:29:54 +02:00
yuni
87199f41db
apply cargo fmt
2024-05-22 05:00:45 +02:00
yuni
f94c46cce2
implement cruise control
2024-05-15 05:00:59 +02:00
yuni
9f64bd65a7
rename "Restart Game" to "Take Off Helmet"
2024-05-14 19:12:58 +02:00
yuni
aa7734947c
implement achievements
2024-05-14 01:24:57 +02:00
yuni
83fe739e91
remove keys for restart and toggle shadows/music/sfx
2024-05-13 21:18:37 +02:00
yuni
556e98deec
add Restart Game to menu
2024-05-13 20:53:08 +02:00
yuni
eb681999f8
implement game menu
2024-05-13 20:21:56 +02:00
yuni
cc67cf961a
run input handlers only when alive
2024-05-13 05:01:39 +02:00
yuni
7f3770cf49
add bevy::math::{DVec3,DQuat} import to common
2024-05-13 00:55:49 +02:00
yuni
3b7e3e94dc
add EPSILON and EPSILON32 constants
2024-05-13 00:48:41 +02:00
yuni
33876bac73
add game.rs
2024-05-12 23:57:21 +02:00
yuni
94d732d9f0
simplify crate module imports
2024-05-12 23:42:56 +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
83f43ee06c
rename effects.rs to visual.rs
2024-05-10 12:24:57 +02:00
yuni
c2124180f6
change flashlight sound to "switch"
2024-05-08 06:42:35 +02:00
yuni
35a0d51dfb
battery drain on flashlight
2024-05-08 02:35:36 +02:00
yuni
c38fcaa8dd
clamp suit integrity at 0%-100%
2024-05-08 00:32:20 +02:00
yuni
7d31a95a7c
show dashboard icon when flashlight is active
2024-05-07 20:54:24 +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
e08339ad5e
add key to toggle flashlight, fix flashlight in 1st person mode
2024-05-07 17:11:18 +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
591b4a4f46
move actor::position_to_transform to camera module
2024-05-01 21:50:59 +02:00
yuni
a9fc27ac27
better g-force calculation
2024-05-01 00:58:58 +02:00
yuni
03563ad955
shrink humans down to actual size
2024-04-30 01:26:59 +02:00
yuni
2b07ef67d1
copy serenity station's new style to the other bus stops
2024-04-24 21:17:41 +02:00
yuni
73410efc09
add comment
2024-04-23 17:45:47 +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
7b21c2b820
tweak ASCII art
2024-04-21 19:34:00 +02:00