Commit Graph

149 Commits

Author SHA1 Message Date
2da15ca63e Update options for client as well 2026-07-22 04:17:15 +03:00
0ca3b2c49a Add game options properly 2026-07-22 04:06:56 +03:00
ec005b1339 Allow client to select map as well, sometimes 2026-07-22 03:25:52 +03:00
328bb116f5 Update map selection dropdown disable logic 2026-07-22 03:23:48 +03:00
6c22427993 Move jumping code to PlayerMovement 2026-07-22 03:18:07 +03:00
ff84c1a7b3 Add name labels 2026-07-22 02:05:42 +03:00
3753ca6bc5 Add team colors to lobby names 2026-07-22 01:59:18 +03:00
182d599b50 Automatically select team with least players 2026-07-22 01:48:30 +03:00
790fc5b758 Disable team switch button without rights 2026-07-22 01:41:46 +03:00
d44cb9813d Allow changing teams 2026-07-22 01:37:19 +03:00
a2c874a418 Move common data from Player to NetPlayer 2026-07-22 01:37:19 +03:00
d127136343 Fix team selection, maintain team after map change 2026-07-22 01:37:19 +03:00
b237e3b981 Start adding teams, move player capsule down a bit 2026-07-22 00:00:21 +03:00
3194a290bc Remove hands from local player, add proper gun_node 2026-07-21 23:31:28 +03:00
91b2030845 Move sync and net processing to physics_process 2026-07-21 22:53:14 +03:00
4862912419 Implement dropping the ball upon death 2026-07-21 22:24:14 +03:00
67fc6c8305 Respawn the ball when it enters a killbox 2026-07-21 22:20:26 +03:00
72e4170f2b Implement ball_sync 2026-07-21 22:15:53 +03:00
48799be075 Add throwing the ball 2026-07-21 22:05:37 +03:00
301bd229ff Make sure that ball cannot be picked up by the same player instantly 2026-07-21 21:54:09 +03:00
f263f0d1ef Spawn ball at ball origin 2026-07-21 21:47:49 +03:00
aa8d6505bc Implement dropping the ball 2026-07-21 21:41:58 +03:00
4487eaef6c Add ball and be able to pick it up 2026-07-21 21:07:50 +03:00
c29148d71f Remove unused print 2026-07-21 20:45:53 +03:00
3039269974 Despawn ball on contact 2026-07-21 20:45:14 +03:00
e4b363459e Add ball 2026-07-21 20:31:39 +03:00
633304f7b3 Use DamageSource instead of player_id always 2026-07-21 02:35:35 +03:00
afa74303f7 Add killbox 2026-07-21 01:47:35 +03:00
4316badc8a Remove some more imports 2026-07-21 01:13:17 +03:00
d5000cdfca Clean up some unused imports 2026-07-21 01:12:39 +03:00
06e126f61a Improve how map is fetched for bullet 2026-07-21 01:10:42 +03:00
78dedea8e0 Implement spectator camera 2026-07-20 23:48:07 +03:00
b7fe485ceb Make sure killer and damage-dealer player id is propagated 2026-07-20 23:36:46 +03:00
f6f57f59c3 Add respawn timer ui element 2026-07-20 23:30:49 +03:00
465563c457 Implement respawning 2026-07-20 22:43:10 +03:00
2fd81c3b71 Make death look a bit nicer 2026-07-20 22:25:24 +03:00
97ae7d6698 Disable movement and camera rotation while dead 2026-07-20 22:20:12 +03:00
ee81253393 Finish killing 2026-07-20 22:00:00 +03:00
4bc704266f Implement killing almost 2026-07-20 21:46:38 +03:00
474dca0ca2 Update raycasting to work properly for all players 2026-07-20 21:08:57 +03:00
967133aedd Improve how raycasting is done 2026-07-20 20:44:49 +03:00
0d7ca0a1a5 Improve latency when client is shooting 2026-07-20 20:35:31 +03:00
7166bfe898 Add dyn weapon separately 2026-07-20 20:33:30 +03:00
82401dd2a9 Rename bullet to beam and weapon to raygun 2026-07-20 20:30:40 +03:00
cffea92732 Improve raygun ray effect 2026-07-20 20:28:16 +03:00
fb18929ffd Add cylinder bullet instead 2026-07-20 19:44:13 +03:00
058ac24052 Add proper shooting effect 2026-07-20 01:46:51 +03:00
ee5c6f416f Add simple shooting 2026-07-19 23:06:52 +03:00
158619f488 Add shooting 2026-07-19 22:49:21 +03:00
1c44424f86 Use look-at modifiers 2026-07-19 22:16:04 +03:00
0b093903f9 Implement some sort of look up rotation 2026-07-19 21:50:17 +03:00
419215c0a6 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