Skip to content

Improved movement#216

Merged
rylerbleau merged 3 commits intodevfrom
ImprovedMovement
Mar 21, 2024
Merged

Improved movement#216
rylerbleau merged 3 commits intodevfrom
ImprovedMovement

Conversation

@SafakOnol
Copy link
Copy Markdown
Collaborator

WHAT

Precision Jump controls with Jump Buffer added to character controls.

WHY

Precise character control is one of the most important elements of a platformer game. Floaty and unpredictable jump controls are unacceptable.

HOW

  • Jump status bool added to jump function for better execution
  • Max jump duration added to provide a more controlled jump
  • Air control adjusted
  • Air friction is added to allow the player to control their positioning
  • Dynamic gravity added to the jump function, once the jump is stopped gravity is doubled until the character is landed
  • Jump buffer added to provide a platforming experience without losing momentum on wrongly timed jumps. Now player can press the jump button a few milliseconds before landing and the game will execute the jump on landing. This allows players to keep their momentum on.

# Conflicts:
#	Content/Unbread/Core/Character/BP_Character.uasset
#	Plugins/FMODStudio/Binaries/Win64/UnrealEditor-FMODStudio.dll
#	Plugins/FMODStudio/Binaries/Win64/UnrealEditor-FMODStudio.pdb
#	Plugins/FMODStudio/Binaries/Win64/UnrealEditor-FMODStudioEditor.dll
#	Plugins/FMODStudio/Binaries/Win64/UnrealEditor-FMODStudioEditor.pdb
#	Source/unbread/Private/SCharacter.cpp
@SafakOnol SafakOnol added enhancement New feature or request Player Top Priority Top Priority - Must Finish controller labels Mar 21, 2024
@SafakOnol SafakOnol added this to the Beta Version Release milestone Mar 21, 2024
@SafakOnol SafakOnol self-assigned this Mar 21, 2024
Copy link
Copy Markdown
Collaborator

@rylerbleau rylerbleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Movement feels really good!

@rylerbleau rylerbleau merged commit 7c0ff7d into dev Mar 21, 2024
@rylerbleau rylerbleau deleted the ImprovedMovement branch March 21, 2024 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controller enhancement New feature or request Player Top Priority Top Priority - Must Finish

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Improve Jump function / add Custom Jump function Coyote Time Jump bug

2 participants