Commit graph

79 commits

Author SHA1 Message Date
d76afe92f0
Use From when Into can't auto-infer type 2025-07-06 17:58:18 -04:00
ddf2883e4f
Increase how much you can zoom out 2025-07-06 17:47:47 -04:00
d89d539f3b
Make Seed a component
Conceptually it works better as a resource, but that's an extra layer of complexity for the upcoming automatic distribution work.
2025-07-06 17:47:19 -04:00
9ab8db41de
Don't specify peer port
All checks were successful
CI / Formatting (push) Successful in 1m33s
Using a port of 0 and letting the OS choose for us means that we can run multiple peers locally
2025-07-05 23:04:46 -04:00
c29344ba6d
Add Peer UI display 2025-07-05 23:03:52 -04:00
e883f201c0
Add Seed display 2025-07-05 21:36:17 -04:00
58795eb87e
Don't expose heartbeat to app 2025-07-05 19:28:14 -04:00
e58629c2f1
Don't immediately send heartbeat
All checks were successful
CI / Formatting (push) Successful in 1m11s
2025-07-05 18:09:46 -04:00
591cfee715
Remove debugging logs 2025-07-05 18:09:19 -04:00
c10f6cfb82
Rework networking interface
All checks were successful
CI / Formatting (push) Successful in 1m6s
Add Bevy event queues for inbound and outbound packets, and use Bevy change detection for consumer new Peer handling.
2025-07-05 15:01:33 -04:00
cceca83dac
Add very rough heartbeat
All checks were successful
CI / Formatting (push) Successful in 1m0s
This also means that the peer can be started up before the main game
2025-07-01 14:43:47 -04:00
293ccf9370
Always derive Debug
All checks were successful
CI / Formatting (push) Successful in 1m13s
2025-06-03 00:04:56 -04:00
cb64878186
Rename types to queues
I mean that name just sucked
2025-06-02 23:58:56 -04:00
3c0590b273
Set write timeout
No read timeout because who knows if we'll ever receive a packet, but writes shouldn't last long
2025-06-02 23:56:00 -04:00
cfa763ffc4
Update to Bevy 0.16.1
Some checks failed
CI / Formatting (push) Has been cancelled
2025-05-31 00:15:02 -04:00
1461dd11ec
Update log dependency
All checks were successful
CI / Formatting (push) Successful in 1m28s
2025-05-25 22:42:35 -04:00
73ea0d6fd8
Move game logic plugin configuration to game-specific plugin 2025-05-25 22:29:20 -04:00
d6c4741582
Add README 2025-05-25 21:09:29 -04:00
9ac45e9249
Move netcode to module
All checks were successful
CI / Formatting (push) Successful in 1m5s
2025-05-25 20:36:49 -04:00
c005a4dbb9
Handle all available messages 2025-05-25 20:03:12 -04:00
ba7737671e
Use Vec<u8>s for sending data between threads 2025-05-25 17:12:05 -04:00
dd57bc30e1
Add launch configuration for connecting from framework
All checks were successful
CI / Formatting (push) Successful in 1m7s
2025-05-25 13:25:59 -04:00
3f83ee275a
Expose UDP port to network
All checks were successful
CI / Formatting (push) Successful in 1m2s
2025-05-25 13:18:35 -04:00
e81b6fa1fa
Redo netcode error handling
All checks were successful
CI / Formatting (push) Successful in 1m5s
No more panics :)
2025-05-25 12:28:32 -04:00
dad37262a5
Implement very basic and bad and specific netcode
All checks were successful
CI / Formatting (push) Successful in 1m14s
The game can now retrieve its seed from another game on the network
2025-05-25 00:54:16 -04:00
50ef78f7aa
Move seed check to FixedUpdate 2025-05-24 22:28:15 -04:00
4a097e7ed8
Scope GameObjects for automatic cleanup 2025-05-24 22:27:44 -04:00
f0d690a9f8
Add basic loading state
All checks were successful
CI / Formatting (push) Successful in 1m6s
2025-05-24 18:44:04 -04:00
85ca3af12d
Add release build task 2025-05-24 18:43:37 -04:00
4dac7c5366
Add dev tools 2025-05-24 18:43:09 -04:00
8fc7817154
Add AGPL license 2025-05-24 16:56:12 -04:00
5047931d17
Add CLI argument documentation 2025-05-24 14:18:55 -04:00
aa07b193b6
Launch game through VSCodium debugger
All checks were successful
CI / Formatting (push) Successful in 1m5s
2025-05-24 13:23:20 -04:00
b7804bd547
Add CLI for networking 2025-05-24 13:22:47 -04:00
62da4093ea
Make VSCodium Rust experience more robust 2025-05-24 13:22:07 -04:00
0896ccf691
Fix faster diagonal acceleration for the player
All checks were successful
CI / Formatting (push) Successful in 1m27s
Also always accelerate the player using the same force, so that bigger players aren't overpowered.
2025-05-24 00:43:44 -04:00
10b525e4c7
Make only playable area seeded 2025-05-23 23:49:11 -04:00
10a6bad336
Fix balls showing up in the wrong place
All checks were successful
CI / Formatting (push) Successful in 1m17s
2025-05-23 17:06:05 -04:00
d73683359a
Fix apparent jitter in player movement
All checks were successful
CI / Formatting (push) Successful in 1m15s
Remember: `time.delta_secs()` needs to be included in ALL movement calculations!!! This one was pretty well hidden because the player movement was properly interpolated and the camera lerped after it, but it was still barely noticeable!
2025-05-22 23:17:53 -04:00
b42563a94d
Update scroll sensitivity for discrete mouse wheels 2025-05-22 23:04:03 -04:00
bef0b66ee1
Add names to entities 2025-05-22 23:03:32 -04:00
2df3f0262b
Add Bevy remote protocol setup 2025-05-22 23:03:11 -04:00
6a151397de
Add function documentation
All checks were successful
CI / Formatting (push) Successful in 1m30s
2025-05-19 22:19:04 -04:00
fc95857824
Make more random
At least, make the stuff that doesn't need to be deterministic non-deterministic
2025-05-19 21:23:58 -04:00
245dfde91e
Add zoom function
All checks were successful
CI / Formatting (push) Successful in 1m3s
man it took me so long to find out that Rust has a `ref` keyword lol
2025-05-19 18:03:39 -04:00
214e0ceedc
Extract systems 2025-05-19 00:27:12 -04:00
cef21f4a00
Extract entities 2025-05-18 23:57:43 -04:00
b7780b8862
Extract Seed and AppSettings to utils 2025-05-18 23:12:00 -04:00
9be7b102d7
Extract main.rs 2025-05-18 22:54:54 -04:00
84eb560e43
Give Seed an Into<[u8; 8]> 2025-05-18 22:09:09 -04:00