Commit Graph

123 Commits

Author SHA1 Message Date
Franklin
494e99a548 Removed not needed system and added impulse force to dropped guns 2023-11-14 16:22:54 -04:00
Franklin
c55bb81fd7 Cargo fmt, readme update and removed warnings 2023-11-13 13:57:24 -04:00
Franklin
affacae0a0 Centered interact clue text, still needs work, but is much better. 2023-11-13 13:53:30 -04:00
Franklin
45f412c7c0 Compiles and doesn't crash on startup, changed some Boxes to Arcs and added a PickupItemEvent 2023-11-12 18:51:35 -04:00
Franklin
aa7eb521b8 Cargo fmt 2023-11-12 17:24:28 -04:00
Franklin
865070ed90 Fixed guns reloading all animation players when reload anim is triggered on the same gun 2023-11-12 16:38:23 -04:00
Franklin
01bd24bf19 Removed warnings 2023-11-12 14:37:11 -04:00
Franklin
61f33357a4 Integrated trait objects and made modular spawn points 2023-11-12 14:36:37 -04:00
Franklin
8afa56d306 Interactable hud bug fixes 2023-11-12 11:05:37 -04:00
Franklin
bc90efbbc4 Mild refactor 2023-11-12 00:51:15 -04:00
Franklin
cdf1d573cf Work on interaction system, re enabled weapon switching and noticed that Meshes are down to the bone, meaning creating a hitreg system will be relatively easy later on. Focus on the inventory definition, honestly I would just go for static primary, secondary, body armor and helmet inventory spaces. Later, add backpacks with the tetris system you just created. For the moment make everything pickupable 2023-11-12 00:43:54 -04:00
Franklin
7685caf99f Interactable clue UI and trigger plus interaction on key press F 2023-11-11 21:26:49 -04:00
Franklin
ac119eb60a Interactable system completed 2023-11-11 19:45:32 -04:00
Franklin
3f95e2cd5a Inventory backend 2023-11-11 19:03:11 -04:00
Franklin
26d03de52e Removed warnings 2023-11-11 14:04:09 -04:00
Franklin
8c7450d03f Could not find out how to fix bug where stopped collider would not work as precisely as started collision event 2023-11-11 14:03:22 -04:00
Franklin
4e8bddfade Perfect bullet going through colliders system now. 2023-11-11 13:00:55 -04:00
901c30154b bullet 2023-11-09 13:00:01 -08:00
Franklin
1193797a1e comments 2023-11-09 09:42:01 -04:00
Franklin
a98d3b8955 Adjusted firearm firing point forward on the m4 2023-11-09 00:10:13 -04:00
Franklin
47764f63a1 Fixed firearm y_rot glitch. Now firing point is where it should be 2023-11-09 00:06:11 -04:00
a64e646e78 Firearm shooting with a line almost perfect. Only need to change the m4 rotation values as it's rotated -90 on y axis. Apply inverse rotation on all transforms that shoot. And TODO: uncomment muzzle flash light code 2023-11-08 16:39:02 -08:00
0c3ab5d8ad continue in mac 2023-11-08 13:24:17 -08:00
65c555aa03 Fixed player spawning without firearm bug 2023-11-08 13:17:45 -08:00
ab230a95f1 Added resources to reflect derive macro 2023-11-08 12:29:07 -08:00
b5a2d76b58 made light a bit more bright 2023-11-08 10:48:05 -08:00
Franklin
22a8c91c5e Added muzzle flash light 2023-11-08 14:45:04 -04:00
Franklin
373f18cef2 Back to editor_pls 2023-11-08 13:36:17 -04:00
Franklin
866e8c5ff5 Solved gun firing on resume button click 2023-11-08 13:22:36 -04:00
Franklin
adb9cdbe83 Fps color change 2023-11-08 13:12:56 -04:00
Franklin
f5d92d89f2 Aaaaand... Back to inspector 2023-11-08 13:11:14 -04:00
Franklin
28765e173a Debug rect 2023-11-08 11:36:04 -04:00
Franklin
86909e8bcb Added debug information with names and reflect types so that everything can be identified and changed in the editor gui 2023-11-08 10:54:22 -04:00
Franklin
2683d75462 Tried to use egui::dock but ended up just using a manual egui 2023-11-08 00:11:12 -04:00
Franklin
83bc4f1073 Removed unneccessary braces 2023-11-07 21:08:35 -04:00
Franklin
437e512fd5 Using PlayerValuesState instead of constants that hold playervalues 2023-11-07 21:08:15 -04:00
Franklin
20c37e1439 Added quit and resume buttons toESC menu. With functionality 2023-11-07 13:47:06 -04:00
Franklin
331fb31c40 Invalidated player controls when settings screen is up 2023-11-07 13:10:45 -04:00
Franklin
45639fd0f3 Added fps counter & Settings screen triggered by ESC 2023-11-07 12:57:27 -04:00
2f0a056900 Added temp weapon switching system, finished glock17 firearmdata 2023-09-18 14:52:54 -07:00
af2e23b275 Modular animation system, spawnpoints, weapons, equipment events. 2023-09-18 14:18:55 -07:00
57587d1586 Replaced animation, asset, spawning system with modular system that does all. At this point there is no weapon spawning on the player just yet. 2023-09-18 12:31:20 -07:00
785bd89b6b Moving pcs 2023-09-18 09:44:51 -07:00
d1a1589bf6 Readme stuff 2023-09-17 19:09:04 -07:00
d961bfc6b3 Leaning almost perfect 2023-09-17 18:24:51 -07:00
57a14812ee Leaning more op 2023-09-17 18:18:51 -07:00
3573156316 Added translation to leaning 2023-09-17 18:18:15 -07:00
7783c4a165 RELOAD SYSTEM WITH ANIMATION DONE! 2023-09-17 18:01:37 -07:00
c186019b52 WORKS!! FINALLY ANIMATION ON REPEAT 2023-09-17 17:15:31 -07:00
c135e7c557 Ending the night here. Animation is hell, designing my own keyframe solution meanwhile 2023-09-16 22:00:25 -07:00
b01c9aad39 Added magazines 2023-09-16 13:37:24 -07:00
56fc163b5c Added shooting, recoil system like csgo with patterns, and set gun aim time to rebound_time 2023-09-16 13:19:33 -07:00
794d8bf4aa Added aimed sens, aiming in is smooth now, and fixed aim reticles 2023-09-16 10:56:24 -07:00
da6f47e01f Added Smooth ass leaning and crouching... Wow. Impressed. 2023-09-16 10:28:48 -07:00
0d07fa2329 added aiming 2023-09-15 19:26:39 -07:00
6d0012c782 back to square one with the gun on the hand 2023-09-15 16:11:13 -07:00
5e7f1407f0 Added holdable marker struct and moved things around 2023-09-15 13:46:38 -07:00
3eeff6b11a replaced errors with todo's for now. This runs 2023-09-14 17:23:50 -07:00
Franklin
d40c2546e2 Updated to continue on other machine 2023-09-14 19:46:49 -04:00
Franklin
4f5b98a35f Tweaked values, learned how to add parents and children. 2023-09-13 14:31:36 -04:00
Franklin
69092e471a Fixed crouch speed bug 2023-09-13 12:01:42 -04:00
Franklin
e362d6f9fa Added smooth crouch downards 2023-09-13 11:56:42 -04:00
Franklin
b8fcb2d765 Cargo fmt 2023-09-13 10:55:26 -04:00
Franklin
f29eb34bcf Enlarged ground and spaced obstacles from each other 2023-09-13 10:53:43 -04:00
Franklin
664c5dd120 Fixed bugs with movement system 2023-09-13 10:36:25 -04:00
Franklin
165e71f1c9 Finished skybox 2023-09-12 19:06:37 -04:00
Franklin
c31a84ea61 Added depth to jumping, inertia stays mid air but right before landing damping is restored 2023-09-12 13:08:00 -04:00
Franklin
c693d698a6 Movement system and freelook system 2023-09-12 12:33:51 -04:00
Franklin
c15592ec3f Tweaked acceleration, speed, weight, gravity values and added momentum and inertia to jumps 2023-09-12 12:03:32 -04:00
Franklin
146be24a7c FPS camera done. Camera rotates but player doesn't 2023-09-12 11:33:04 -04:00
Franklin
8ed0ba71fe Tweaked values and changed cooldown from u64 to 128 2023-09-12 10:03:33 -04:00
Franklin
8e739de9bc Added jumping, grounded and falling states. Modified force and gravity 2023-09-12 09:58:58 -04:00
Franklin
f55faadbe4 Initial commit 2023-09-12 00:47:37 -04:00