Commit Graph

281 Commits

Author SHA1 Message Date
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
f601523df2 Remove unused print 2026-07-21 20:45:53 +03:00
1f27e00d5e Despawn ball on contact 2026-07-21 20:45:14 +03:00
33631e4391 Add ball 2026-07-21 20:31:39 +03:00
b8ce30826d Use DamageSource instead of player_id always 2026-07-21 02:35:35 +03:00
1fc0e17118 Add killbox 2026-07-21 01:47:35 +03:00
c2b1823a18 Remove some more imports 2026-07-21 01:13:17 +03:00
c091c46a13 Clean up some unused imports 2026-07-21 01:12:39 +03:00
861db98c0e Improve how map is fetched for bullet 2026-07-21 01:10:42 +03:00
b6bc13323b Implement spectator camera 2026-07-20 23:48:07 +03:00
b4ee962c3a Make sure killer and damage-dealer player id is propagated 2026-07-20 23:36:46 +03:00
7a8cc9cca7 Add respawn timer ui element 2026-07-20 23:30:49 +03:00
569f73d2c8 Implement respawning 2026-07-20 22:43:10 +03:00
3b4c4e1055 Make death look a bit nicer 2026-07-20 22:25:24 +03:00
097b4c3fcd Disable movement and camera rotation while dead 2026-07-20 22:20:12 +03:00
46c1c68fe7 Finish killing 2026-07-20 22:00:00 +03:00
81fabce332 Implement killing almost 2026-07-20 21:46:38 +03:00
4de9e2d19e Update raycasting to work properly for all players 2026-07-20 21:08:57 +03:00
cf9b47afc6 Improve how raycasting is done 2026-07-20 20:44:49 +03:00
05c36f7aea Improve latency when client is shooting 2026-07-20 20:35:31 +03:00
3d5f1ab727 Add dyn weapon separately 2026-07-20 20:33:30 +03:00
2e6d770be5 Rename bullet to beam and weapon to raygun 2026-07-20 20:30:40 +03:00
588d45a032 Improve raygun ray effect 2026-07-20 20:28:16 +03:00
9d11c58df0 Add cylinder bullet instead 2026-07-20 19:44:13 +03:00
c8d0c22e26 Add proper shooting effect 2026-07-20 01:46:51 +03:00
d3840c9427 Add simple shooting 2026-07-19 23:06:52 +03:00
16277edd5b Add shooting 2026-07-19 22:49:21 +03:00
80241f83fd Use look-at modifiers 2026-07-19 22:16:04 +03:00
74d3e4f6f2 Implement some sort of look up rotation 2026-07-19 21:50:17 +03:00
de6925f73a Add a lot of assets, add player model somewhat 2026-07-19 20:41:14 +03:00
25867a0909 Sync jumps 2026-07-18 03:19:55 +03:00
704ea006c9 Fix sync 2026-07-18 03:01:09 +03:00
66082a7f04 Sync local player too if too far 2026-07-18 03:00:45 +03:00
e1b7572098 Raise tickrate to 60 2026-07-18 02:57:27 +03:00
1402b10180 Implement syncing 2026-07-18 02:55:41 +03:00
4b0a90be0e Add spawning players 2026-07-18 02:26:09 +03:00
67110b8216 Impl process for RemotePlayer 2026-07-18 00:59:12 +03:00
90a39d712d Add remote player 2026-07-18 00:58:46 +03:00
1761d730fc Move common code to Player-trait 2026-07-18 00:55:46 +03:00
cb0fa40d1a Implement jump 2026-07-18 00:44:53 +03:00
bbb6856185 Add simple controls 2026-07-18 00:28:16 +03:00
93809e7fd6 Add mouse look 2026-07-18 00:12:40 +03:00
d251973dd3 Refactor a bit 2026-07-17 23:28:28 +03:00
11b6691a4e Deny new connections after game has started 2026-07-17 23:15:46 +03:00
73c7c5b850 Add map selection and entering game 2026-07-17 23:09:11 +03:00
c594af3bd1 Add readiness 2026-07-17 21:36:29 +03:00
b01ecbfe13 Censor player ip when joining 2026-07-17 21:02:11 +03:00
936de8fd0b Fix player creation for 3 players 2026-07-17 20:32:43 +03:00
6ffdd201a7 Fix player disconnecting 2026-07-17 20:13:44 +03:00
4c58824840 Add more proper player listings 2026-07-17 19:59:06 +03:00
eaac940b98 Allow toggling cli 2026-07-17 19:09:14 +03:00
b93eded960 Fix bug 2026-07-16 17:15:07 +03:00
9564b778fb Update player nick from serverside as well 2026-07-16 16:50:18 +03:00
70c0a782b4 Update player nick properly 2026-07-16 16:47:43 +03:00
154c5fa743 Add GameManager and Game 2026-07-16 07:17:07 +03:00
82d3a22193 Implement net stats 2026-07-16 05:50:20 +03:00
a849904535 Implement sending a simple Hello-package 2026-07-16 04:52:31 +03:00
0e3fac5a12 Add PeerConfig 2026-07-16 03:35:27 +03:00
423abba4c3 Handle separate Closed-message 2026-07-16 02:58:16 +03:00
a7b690ec9f Iron out some bugs 2026-07-16 01:59:31 +03:00
fa71a3c02e Implement connecting 2026-07-16 01:07:11 +03:00
7c8c298c68 listen to port with peer, report errors 2026-07-15 21:57:33 +03:00
edc23b3e8c Add teanet-rust 2026-07-15 21:44:46 +03:00
ecaa5537a2 Bind host and join to NetworkManager via signals 2026-07-15 21:16:44 +03:00
947b606b44 refactor 2026-07-15 21:05:49 +03:00
b7f8ac320e Use autoload singletons instead 2026-07-15 20:58:56 +03:00
17086a2ef4 Add host and join commands 2026-07-15 20:39:15 +03:00
c4f376b9c3 Improve help command 2026-07-15 20:32:20 +03:00
eba728f194 Add commands 2026-07-15 20:30:22 +03:00
fbb24ddd17 Add handle_command 2026-07-15 20:03:26 +03:00
ae37115b37 Improve command line interface 2026-07-15 20:00:58 +03:00
7b66a7afb9 Add simple command line interface 2026-07-15 19:48:15 +03:00
a588dfe7dd Add simple NetworkManager 2026-07-15 18:35:37 +03:00
0e83927a0b Perform initialization 2026-07-15 18:25:12 +03:00
d5f0947e97 Remove target files 2026-07-15 18:19:04 +03:00
2d4648b199 Init rust project as library 2026-07-15 18:18:33 +03:00
03f634b33b Set up directory structure 2026-07-15 18:17:25 +03:00