Feature/Add movement interpolation #5

Merged
jusemon merged 1 commit from feature/add-movement-interpolation into main 2025-11-26 09:36:40 -05:00
Owner
  • Updated Player class to use maxSpeed, acceleration, and deceleration for smoother movement.
  • Introduced velocity vector for more responsive control and smoother diagonal movement.
  • Enhanced update method to calculate target velocity based on input and apply easing for acceleration and deceleration.
  • Implemented boundary checks to stop movement when hitting the edges of the play area.
- Updated Player class to use maxSpeed, acceleration, and deceleration for smoother movement. - Introduced velocity vector for more responsive control and smoother diagonal movement. - Enhanced update method to calculate target velocity based on input and apply easing for acceleration and deceleration. - Implemented boundary checks to stop movement when hitting the edges of the play area.
jusemon added 1 commit 2025-11-26 09:35:35 -05:00
Refactor Player Movement Logic
All checks were successful
Build and Publish Docker Image / Build and Validate (pull_request) Successful in 8s
Build and Publish Docker Image / Publish to Registry (pull_request) Has been skipped
257cd017af
- Updated Player class to use maxSpeed, acceleration, and deceleration for smoother movement.
- Introduced velocity vector for more responsive control and smoother diagonal movement.
- Enhanced update method to calculate target velocity based on input and apply easing for acceleration and deceleration.
- Implemented boundary checks to stop movement when hitting the edges of the play area.

This change improves the overall player control experience, making movement more fluid and intuitive.
jusemon merged commit c5a7f160bc into main 2025-11-26 09:36:40 -05:00
jusemon deleted branch feature/add-movement-interpolation 2025-11-26 09:36:40 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jusemon/threejs-test#5
No description provided.