Kenney
c019163d6a
Upgrade to Godot 4.3
2024-08-17 21:12:29 +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