Commit Graph

326 Commits

Author SHA1 Message Date
b33ba26b5e Extend replay from recording live 2026-07-26 21:59:00 +03:00
a304691d1b Record jumps 2026-07-26 21:59:00 +03:00
e9343f9f48 Apply spectated player_id correctly 2026-07-26 21:59:00 +03:00
6c533b522d Make regular ball invisible during playback 2026-07-26 21:59:00 +03:00
8552aeb55d Add replay ball 2026-07-26 21:59:00 +03:00
6badb845b5 Fix problem with weapon swapping in replays 2026-07-26 21:59:00 +03:00
91f76b3836 Implement concept of fast forwarding 2026-07-26 21:59:00 +03:00
f67843cc59 Clear replay players when replay ends 2026-07-26 21:59:00 +03:00
5748a0af7b Stop playback on local player respawn 2026-07-26 21:59:00 +03:00
5c51e25a11 Hide players during replay 2026-07-26 21:59:00 +03:00
9b522f0789 Record deaths and shoots 2026-07-26 21:59:00 +03:00
7a9292242f Start adding replays 2026-07-26 21:59:00 +03:00
b8578a0a95 Fix slow slope speed with CharacterBody3D's Constant Speed instead 2026-07-26 21:45:28 +03:00
0c87c2fe19 Fix floating when hitting the ceiling and slope slowdown 2026-07-26 20:10:13 +03:00
70890beb25 Make settings resettable 2026-07-26 03:42:45 +03:00
26cdffe0de Add kenney icons, add reset button to settings 2026-07-26 03:21:47 +03:00
9504eb7a88 Add jump keybind, fix binding space 2026-07-26 02:33:36 +03:00
2464ad00db Allow remapping keybinds correctly 2026-07-26 02:17:29 +03:00
97cc8b1712 Start adding keybinds 2026-07-26 02:03:10 +03:00
58a3b74d2b Make settings look a lot better 2026-07-26 01:24:49 +03:00
0527567350 Fix goal game option propagating to client 2026-07-26 00:49:41 +03:00
b53b6289bd Add punch animation as well 2026-07-26 00:29:26 +03:00
fb799acdbe Implement punching 2026-07-26 00:10:04 +03:00
b0a0fe077a Remove unused imports 2026-07-25 23:49:45 +03:00
520d44d564 Add credits 2026-07-25 23:48:20 +03:00
2ece3a573b Add credits 2026-07-25 23:28:35 +03:00
bde066af06 Don't update map if it really didn't change 2026-07-25 22:53:47 +03:00
88e9d912a2 Update volumes via audio buses 2026-07-25 22:46:16 +03:00
0e40fe7f94 Make sure settings are listed in-order 2026-07-25 22:12:01 +03:00
b6a4cd59bf Add new settings 2026-07-25 22:09:53 +03:00
0d745a7789 Respawn ball if holding player disconnects 2026-07-25 22:01:14 +03:00
bc3606a6ad Add respawn_ball command 2026-07-25 21:57:50 +03:00
29a98c686c Reset kill streak on death 2026-07-25 21:27:28 +03:00
b10acbeb96 Play local hit sound on kill 2026-07-25 21:26:28 +03:00
6545f54cfc Disable walk effects when dead 2026-07-25 21:21:42 +03:00
02c39f01dc Fix warnings 2026-07-25 21:20:59 +03:00
e2a71eb014 uncommit again 2026-07-25 01:30:18 +03:00
4afee426d8 Comment self_sync position again 2026-07-25 01:29:13 +03:00
fcda202c49 Send syncs every physics_tick 2026-07-25 01:26:13 +03:00
9769e7f91a Re-apply self-sync position with 1000 divisor 2026-07-25 01:24:19 +03:00
b13fa8d54a Comment out position syncing in apply_self_sync 2026-07-25 01:23:10 +03:00
dd75677321 Move movement to physics_process 2026-07-25 01:20:32 +03:00
3e5a9b3163 Calculate y-rot differently 2026-07-25 01:19:01 +03:00
fe2d586a50 Mult ping by /500. 2026-07-25 01:04:43 +03:00
51b87daa9f Throw apply_self_sync overboard 2026-07-25 00:57:03 +03:00
4b8c017530 Loosen up apply_self_sync 2026-07-25 00:54:46 +03:00
b3b4a299bc Fix self sync calculation 2026-07-25 00:46:23 +03:00
606eed9255 Apply client-side sync info rarely 2026-07-25 00:45:39 +03:00
840860bc9d Make killbox kind also an export 2026-07-24 23:27:03 +03:00
a00ced88d0 Add killbox kinds 2026-07-24 23:22:06 +03:00
27869e9072 Swap weapon on scroll wheel 2026-07-24 23:10:15 +03:00
d25104aa8d Properly update clientside player weapon at spawn 2026-07-24 23:03:52 +03:00
786003d60d Fix 2026-07-24 22:50:38 +03:00
6c6c05d0a9 Split player.rs into three files 2026-07-24 22:47:35 +03:00
2e71105ea2 Add own health number 2026-07-24 22:38:49 +03:00
9535227e6f Add health bar to remote players 2026-07-24 22:31:11 +03:00
4a443b8075 Implement recent servers list 2026-07-24 21:49:47 +03:00
bb9ed38278 Trim chat messages and don't send any empty ones 2026-07-24 21:21:35 +03:00
4512734395 Fix footstep sounds when jumping 2026-07-24 21:19:46 +03:00
efa350ff20 Fix remote player shooting 2026-07-24 21:15:42 +03:00
f162da8a41 Fix ball not moving in hand correctly 2026-07-24 21:12:30 +03:00
9d78db008d Add some rotation to shooting animation 2026-07-24 20:17:47 +03:00
cae47f86ed Transfer cd from previous weapon 2026-07-24 20:10:05 +03:00
430de3e1f1 Make shotgun prettier and add shotgun sounds 2026-07-24 20:04:06 +03:00
678268642b Make shotgun functional 2026-07-24 19:36:00 +03:00
e60645f0f6 Make weapon swapping and ball dropping work correctly 2026-07-24 18:27:07 +03:00
5b8dc1acc4 Add shotgun, and a way to swap weapons 2026-07-24 17:35:05 +03:00
3b994283af Use compressed sound effects 2026-07-24 16:06:55 +03:00
d40040d5b9 Add max length to name 2026-07-24 04:27:09 +03:00
4c82b40778 Change a bunch of TextEdits into LineEdits 2026-07-24 04:25:55 +03:00
305c9e334a Improve chat 2026-07-24 04:18:44 +03:00
fa5e4517d1 Make sure chat messages always remain 2026-07-24 04:14:55 +03:00
46bc9115ae Add sending chat messages as well 2026-07-24 04:11:18 +03:00
95bd5d9365 Add chat & chat box 2026-07-24 03:58:44 +03:00
c414e6d7c4 Add some preliminary chat messages 2026-07-24 02:49:46 +03:00
f053c789a6 Add announcements 2026-07-24 02:13:21 +03:00
b44179eb24 Add some effects for walking 2026-07-24 01:34:11 +03:00
c589832268 Move cd management to weapon itself 2026-07-24 00:58:41 +03:00
95e0032948 Fix warnings 2026-07-24 00:55:16 +03:00
cf364ddcff Move splorch to player effects, add hit sound 2026-07-24 00:53:39 +03:00
214d7a0939 Refactor some files to player directory 2026-07-24 00:47:02 +03:00
7e2751393c Add ping icon 2026-07-24 00:14:58 +03:00
8576a5b673 Properly handle disconnect during game 2026-07-23 23:58:28 +03:00
e2ec9a4978 Reset player kills and deaths only at reset 2026-07-23 23:54:52 +03:00
036d7c723a Implement kills/deaths 2026-07-23 23:40:43 +03:00
b707115c79 Add scoreboard 2026-07-23 23:40:43 +03:00
c6aedf8b22 Fix rejoining game causing lobby to be empty 2026-07-23 22:48:26 +03:00
9c0d71f24e Use default name 2026-07-23 22:12:20 +03:00
30ffcb9dab Add default name config 2026-07-23 22:03:11 +03:00
594ebaee6d Make fov slider work 2026-07-23 21:48:44 +03:00
b82759ba66 Add settings that persist 2026-07-23 21:39:51 +03:00
966f2ebb29 Add pause menu 2026-07-23 20:17:37 +03:00
6acd6d4d15 Add simple pause menu 2026-07-23 20:10:31 +03:00
3980439a91 Improve how popups appear 2026-07-23 19:48:25 +03:00
8efe18007f Properly exit game at exit 2026-07-23 19:45:53 +03:00
5e6c8b3fac Add popup when client disconnects 2026-07-23 19:40:22 +03:00
1fda2f821e Implement PopupQueue 2026-07-23 19:38:05 +03:00
db2bb852f4 Go to main menu on disconnect 2026-07-23 19:23:35 +03:00
445344492a Add popup for error hosting 2026-07-23 19:17:26 +03:00
1a877d6f75 Add simple popup 2026-07-23 19:14:17 +03:00
d2da80f64c Add simple main menu 2026-07-23 18:47:21 +03:00
4b41d61040 Move ball when it's being shot 2026-07-22 23:53:27 +03:00
09959cb923 Remove local player weapon on death 2026-07-22 23:48:46 +03:00
a24dbe97cb Remove name label upon death 2026-07-22 23:48:04 +03:00
05200d1d7f Animate the local player mesh as well 2026-07-22 23:47:17 +03:00
77457904b1 Implement some command line arguments 2026-07-22 23:44:55 +03:00
c09037a488 Persist map selection 2026-07-22 23:04:55 +03:00
6cd6769097 Fix goals game option not changing 2026-07-22 23:00:59 +03:00
cde032eccc Update score view properly upon death 2026-07-22 22:50:50 +03:00
0d4f63afa5 Fix jumping 2026-07-22 22:46:56 +03:00
5e0ff4336a Fix camera unlocking upon death 2026-07-22 22:43:53 +03:00
ec4a91722c Update game to make ready for diner 2026-07-22 22:30:09 +03:00
8c44050846 Update player listings correctly, remove unused print 2026-07-22 22:28:09 +03:00
0aae697b96 Add some sort of summary view to ending screen 2026-07-22 22:20:00 +03:00
ffa3f3166c Add goals needed to win option 2026-07-22 21:56:00 +03:00
15a898b477 Iron out some bugs 2026-07-22 21:48:27 +03:00
a9d99390d9 Implement resetting the game 2026-07-22 21:31:03 +03:00
e1ad6b12d7 Add simple finish game screen 2026-07-22 21:19:44 +03:00
40a41f4b45 Rename player_listing to lobby_player_listing 2026-07-22 20:30:32 +03:00
3fa4800826 Add simple score view 2026-07-22 20:29:14 +03:00
a7a1d84b35 Remove unused prints 2026-07-22 05:46:49 +03:00
40681ba470 Implement making goals 2026-07-22 05:46:32 +03:00
b660ae05cd Add goals 2026-07-22 05:33:06 +03:00
1bdaea7e96 Add separate team spawners 2026-07-22 04:37:02 +03:00
19ea47bbf4 Fix some warnings 2026-07-22 04:32:01 +03:00
dc1ea6625f Implement friendly fire gamerule 2026-07-22 04:30:47 +03:00
f2193e0556 Add friendly fire option 2026-07-22 04:19:48 +03:00
57e3c21fa1 Update options for client as well 2026-07-22 04:17:15 +03:00
ed1d14f4ae Add game options properly 2026-07-22 04:06:56 +03:00
50557bfb9b Allow client to select map as well, sometimes 2026-07-22 03:25:52 +03:00
05f5c9cbf8 Update map selection dropdown disable logic 2026-07-22 03:23:48 +03:00
afdc8458d8 Move jumping code to PlayerMovement 2026-07-22 03:18:07 +03:00
b35480dc5f Add name labels 2026-07-22 02:05:42 +03:00
0a8caf9ced Add team colors to lobby names 2026-07-22 01:59:18 +03:00
1d47522f7e Automatically select team with least players 2026-07-22 01:48:30 +03:00
317d60fca4 Disable team switch button without rights 2026-07-22 01:41:46 +03:00
4164232b49 Allow changing teams 2026-07-22 01:37:19 +03:00
8a1b6d3e62 Move common data from Player to NetPlayer 2026-07-22 01:37:19 +03:00
1ec5377cfc Fix team selection, maintain team after map change 2026-07-22 01:37:19 +03:00
db3c430065 Start adding teams, move player capsule down a bit 2026-07-22 00:00:21 +03:00
dba77889ed Remove hands from local player, add proper gun_node 2026-07-21 23:31:28 +03:00
9590f853a0 Move sync and net processing to physics_process 2026-07-21 22:53:14 +03:00
f36dbfdea6 Implement dropping the ball upon death 2026-07-21 22:24:14 +03:00
a306377a4e Respawn the ball when it enters a killbox 2026-07-21 22:20:26 +03:00
683671a50e Implement ball_sync 2026-07-21 22:15:53 +03:00
92103256e8 Add throwing the ball 2026-07-21 22:05:37 +03:00
5a85964216 Make sure that ball cannot be picked up by the same player instantly 2026-07-21 21:54:09 +03:00
772b015d06 Spawn ball at ball origin 2026-07-21 21:47:49 +03:00
163dcf3f4a Implement dropping the ball 2026-07-21 21:41:58 +03:00
0214c652d8 Add ball and be able to pick it up 2026-07-21 21:07:50 +03:00