Commit Graph

40 Commits (main)
 

Author SHA1 Message Date
Kenney 86977c072b
Merge pull request #19 from gzlock/main
Fixed KenneyNL/Starter-Kit-FPS#18
2025-10-05 17:21:03 +07:00
gzlock 4e0401df68 * weapon.gd added min_knockback and max_knockback members
* player.gd added static method to create a random 2D vector function, and fixed KenneyNL/Starter-Kit-FPS#18
* weapons/blaster-repeater.tres and blaster.tres add min_knockback and max_knockback properties
2025-10-01 02:13:04 +07:00
Kenney cc46ba7b2b
Merge pull request #17 from akien-mga/godot4.5
Check in Godot 4.5 .import changes, run upgrade tool
2025-09-18 10:41:23 +07:00
Rémi Verschelde d7f01c89ef
Check in Godot 4.5 .import changes, run upgrade tool 2025-09-18 10:28:26 +07:00
Kenney a8113ca3ed Merge branch 'main' of https://github.com/KenneyNL/Starter-Kit-FPS 2025-09-16 18:05:20 +07:00
Kenney 3d68eb389c Upgraded to Godot 4.5
The project has been upgraded to Godot 4.5. The visuals have been tweaked slightly, a new skybox has been added and the readme now has basic instructions
2025-09-16 18:04:48 +07:00
Kenney 51e4df4c2e
Merge pull request #12 from Kurt-Burgoyne/MouseRotation
Separation of controller and mouse rotation
2025-09-16 13:30:22 +07:00
Kenney eafd11a728
Merge pull request #11 from Lamoot/many-jump
Multi-jump system, as many jumps as desired.
2025-09-16 13:27:29 +07:00
Kenney 84be51d289
Merge pull request #13 from kelo221/main
Fix shot accuracy
2025-09-16 13:27:06 +07:00
Kenney c019163d6a Upgrade to Godot 4.3 2024-08-17 21:12:29 +07:00
V e48c826067 Fix shot accuracy
The camera gets moved upward before the gun fires, this causes the impact scene and the target of the shot to be incorrect.
2024-04-10 19:07:35 +07:00
Kurt Burgoyne 45036ffa9c Removed left over comment 2024-01-13 11:20:35 +07:00
Kurt Burgoyne 9efe92d92e Seperated Controller and Mouse camera rotation. 2024-01-13 11:18:52 +07:00
Lamoot 50efc5d5d5
Multi-jump system, as many umps as desired.
Instead of hard-coding the jumping mechanic to solely 2 jumps, i.e. double-jump, allow for any number of jumps. By default this is still set to 2, but more are possible if required.
2023-12-13 20:50:35 +07:00
Kenney 77a16e7baa Progress 2023-10-16 13:53:33 +07:00
Kenney 025f5b50ed Progress 2023-10-16 13:42:39 +07:00
Kenney 7a9122f6c5 Update player.gd 2023-10-16 10:22:09 +07:00
Kenney 75b487e579
Merge pull request #9 from idbrii/gamepad
Work with gamepads (and some cleanup)
2023-10-16 09:57:58 +07:00
David Briscoe a10a5c56bf Use circular movement deadzone
get_vector is a circular deadzone, but two get_axis will be a
cross-shaped one.
https://docs.godotengine.org/en/stable/tutorials/inputs/controllers_gamepads_joysticks.html#which-input-singleton-method-should-i-use
https://github.com/godotengine/godot-docs/issues/5378#issuecomment-1635899278
2023-10-15 00:34:54 +07:00
David Briscoe b2c60a56e3 Always have a valid weapon
Fix crash when you're shooting when you die or when you start the game.
Since weapon is nil (waiting for anim to finish before assigning it),
the game crashes trying on Audio.play(weapon.sound_shoot).
2023-10-15 00:34:48 +07:00
David Briscoe 28fc66d961 Tune up jump to reach platforms
Increase jump power so you can jump to all platforms with enemies.
2023-10-15 00:34:21 +07:00
David Briscoe cb5d697704 Whitespace: Remove trailing and adjust spacing
Used gdformat from godot-gdscript-toolkit to automatically clean up
formatting to be consistent across the project.

One exception: there's a long line in player.gd that it split across
multiple lines that seemed worse than before.
2023-10-15 00:34:01 +07:00
David Briscoe 9bd817d9e4 Jump with gamepad A
Use more conventional jump button.
2023-10-15 00:34:01 +07:00
David Briscoe a36ae6e38a Rework camera to work with gamepad
Fix camera moves 180 degrees every frame when using gamepad.

Store a rotation delta and use rotate_toward to move with a max speed
instead of a lerp. Has the same general feel with mouse, but now gamepad
feels reasonable.
2023-10-15 00:33:58 +07:00
David Briscoe 4113e975a7 Remove accidentally added temp file
It's just a copy of project.godot from a failed save. See issue 82270.

Add that pattern to gitignore.
2023-10-14 23:23:02 +07:00
Kenney 44334edba0 Fixed camera sway framerate issue 2023-10-05 01:08:19 +07:00
Kenney 8d4289546f Fixed issues related to framerate 2023-10-05 01:06:19 +07:00
Kenney 7127c35114
Merge pull request #2 from LRFLEW/fps-move
Reduce Framerate Dependence
2023-10-03 09:31:36 +07:00
LRFLEW 52c129f941 Reduce Framerate Dependence
Remove usage of delta in player's handle_controls.
2023-10-03 02:23:49 +07:00
Kenney 40a978fd94
Merge pull request #1 from curious-broccoli/fix-shoot
fix shots being cancelled after first miss
2023-10-02 16:02:33 +07:00
curious-broccoli 8f57ba0f48
fix shots being cancelled after first miss 2023-10-02 15:26:22 +07:00
Kenney 2a6515db63 Merge branch 'main' of https://github.com/KenneyNL/Starter-Kit-FPS 2023-10-02 10:46:05 +07:00
Kenney 6960a4350c Update project.godot 2023-10-02 10:46:03 +07:00
Kenney 1cfc461ee0
Update README.md 2023-10-01 22:48:21 +07:00
Kenney d9532e46f4 Progress 2023-10-01 22:46:48 +07:00
Kenney f0fd8f857c Progress 2023-10-01 15:21:46 +07:00
Kenney 41494895d0 Progress 2023-10-01 12:55:18 +07:00
Kenney dd38efa167 Progress 2023-09-29 10:02:42 +07:00
Kenney bf164bd437 Create LICENSE.md 2023-09-25 19:51:55 +07:00
Kenney 6956b02bcf Initial commit 2023-09-25 19:51:51 +07:00