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
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
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
d8722a4f98
add orbit rings in map for jupiter and its moons
2024-04-20 02:09:04 +02:00
yuni
42a3577c57
enable scrolling the map with the mouse wheel
2024-04-19 22:54:27 +02:00
yuni
0044f50e68
better starting zoom level
2024-04-19 04:41:07 +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
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
81b09d183a
boost interaction distance
2024-04-17 15:24:00 +02:00
yuni
919b801832
fix dying from entering vehicles
2024-04-17 13:55:39 +02:00
yuni
5373edb02f
cleanup
2024-04-16 19:44:05 +02:00
yuni
6002688bb4
determine closeness based on distance to surface, not center
2024-04-16 01:54:34 +02:00
yuni
a1c4fbb821
smooth out engine volume, fixing audio glitches
2024-04-15 21:56:01 +02:00
yuni
fd741ae905
tweak mouseless camera control sensitivity
2024-04-15 13:17:10 +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
86ce38eda1
experiment: mute reaction wheels, unless inside vehicle
2024-04-11 21:42:42 +02:00
yuni
d0df5c5dbd
implement rotation stabilizer (key Y)
2024-04-11 21:06:28 +02:00
yuni
db3545e9a3
normalize mouse sensitivity across screen resolutions
2024-04-10 22:51:11 +02:00
yuni
860d7f8d4b
clamp fov change with g force
2024-04-10 22:04:07 +02:00
yuni
e95f019f3f
tweak fov, mouse sensitivity
2024-04-08 03:15:45 +02:00
yuni
1c9bcd7208
adapt FoV to g force rather than speed
2024-04-08 02:36:47 +02:00
yuni
58bd34cfd0
smoother camera movement
2024-04-08 02:19:33 +02:00
yuni
d4708c2873
tweak gforces, vehicle speed, ignore gforce when cheating
2024-04-06 01:36:14 +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
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
b700e0fe24
implement matching velocity with targeted object
2024-04-05 20:58:37 +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
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
23bceebc79
implement player respawn with "z" key
2024-04-05 02:58:12 +02:00
yuni
5b1d6588f9
properly mute reaction wheel sounds
2024-04-03 14:27:44 +02:00
yuni
8884999074
adjust exit distance to vehicle size
2024-04-03 13:53:49 +02:00
yuni
8531a9b8c1
fix position/rotation after exiting vehicle
2024-04-03 12:26:56 +02:00
yuni
5c50ac33e3
move global illumination from world.rs to camera.rs
2024-04-01 18:06:52 +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
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
852dd79657
better reaction wheel sound
2024-03-31 05:13:13 +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
7b04a41177
add reaction wheel sound
2024-03-31 01:35:37 +01:00
yuni
237cc6c1b8
fix flicker in fade in effect (hopefully)
2024-03-30 22:36:04 +01:00
yuni
9975d8b2bf
smoother handling of vehicle entrance/exits, also fixes adrenaline
2024-03-30 22:31:07 +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
257094dc8e
add jilk+uo keys for mouseless camera control
2024-03-30 19:36:43 +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
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
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
349e38e848
cleanup
2024-03-29 17:22:54 +01:00
yuni
c390a18ae5
add crash sound on collision
2024-03-29 16:58:42 +01:00
yuni
25db91f39e
implement controls and basic collisions
2024-03-29 16:33:12 +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
f4aea80f34
add rocket sound effect for bike
2024-03-28 14:14:49 +01:00
yuni
61324ffe7a
implement entering vehicles, variable engine parameters
2024-03-28 13:26:41 +01:00
yuni
06264159e5
tweaks
2024-03-21 19:01:18 +01:00
yuni
624582f361
finally fix player velocity/momentum
2024-03-21 18:45:43 +01:00
yuni
6a6b53d0c0
cleanup
2024-03-18 04:39:26 +01:00
yuni
a541591b84
add "m" key for muting SFX
2024-03-18 04:10:08 +01:00