Commit Graph

18 Commits

Author SHA1 Message Date
b5916f14c9 跳跃靠墙高度修复 2026-05-27 10:43:59 +08:00
b7baf7ad6a Add WeaponFeedback component and AddressableManagerWindow meta file
- Implemented WeaponFeedback class for handling weapon-related feedbacks such as hit effects and attack sounds.
- Added meta file for AddressableManagerWindow to manage addressable assets.
- Included a new jump.data file for profiler data.
2026-05-22 22:03:32 +08:00
68d4c699ae 修复内容:
PlayerMovement:新增 _facingLocked 字段 + LockFacing(bool) 方法;UpdateFacing() 锁定时直接返回
WallSlideState:OnStateEnter 调用 LockFacing(true) + FlipFacing(_wallDir);OnStateExit 调用 LockFacing(false) 解锁
WallJumpState:OnStateEnter 保险性再调一次 LockFacing(false);WallJumpAway/Toward 同步写入 _inputVelocityX,确保解锁后 UpdateFacing 朝向正确(背墙跳 = 离墙方向,对墙跳 = 朝墙方向)
2026-05-22 10:48:52 +08:00
47bdc67cdf feat: Implement DownDash ability and related systems
- Added DownDash ability with cooldown and speed configuration.
- Introduced DownDashState to handle down dashing mechanics, including gravity manipulation and animation playback.
- Updated PlayerMovement to support DownDash functionality.
- Enhanced PlayerStats to manage spring charge consumption and healing.
- Modified PlayerCombat and WeaponHitBoxInstance to support new hit confirmation events.
- Updated AbilityType to include new form types for character abilities.
- Improved Gizmos for better visualization of enemy detection and attack ranges.
- Added feedback systems for form switching in PlayerFeedback and IFeedbackPlayer.
- Refactored combat and movement states to accommodate new abilities and ensure smooth transitions.
2026-05-22 00:09:50 +08:00
d38505fd31 添加翻转视觉朝向的方法以支持蹬墙跳时的即时转向,并在切换到 WallSlideState 时确保正确刷新抓墙高度 2026-05-21 20:57:03 +08:00
cb68ad6a2f 优化玩家物理移动逻辑,启用连续碰撞检测以防止角色穿墙,并调整平台速度叠加规则以提升物理交互效果 2026-05-21 20:49:50 +08:00
8ccfa22a0e 优化移动平台与玩家的交互逻辑,采用速度双缓冲方案以提升运动平滑度和代码清晰度 2026-05-21 19:27:36 +08:00
39483c4460 优化移动平台与乘客的速度处理逻辑,改用位移累积方案以提升运动平滑度和代码清晰度 2026-05-21 19:08:18 +08:00
c7c8171b8a 优化移动平台与乘客的速度继承逻辑,改用双缓冲方案以提升平滑度和兼容性 2026-05-21 18:59:22 +08:00
247a218182 实现移动平台乘客接口,优化乘客跟随逻辑 2026-05-21 17:09:06 +08:00
fcd3e2dcdd PlayerMovementConfigSO.cs
新增 WallHangSpeed = 1f:正常抓墙(低于等于 wallGrabY,可蹬墙跳区间)的缓慢下滑速度
WallSlideSpeed 语义调整为:受限模式(高于 wallGrabY)的较快下滑速度
PlayerMovement.cs

ApplyWallSlide() 改为 ApplyWallSlide(float speed),由调用方传入对应速度
WallSlideState.cs

OnStateFixedUpdate:正常模式用 WallHangSpeed,受限模式用 WallSlideSpeed(两档清晰分离)
恢复反方向键脱离:脱离时同样调用 StartWallCoyote,wall coyote 窗口内仍能触发蹬墙跳
更新类头注释完整描述脱离方式和下滑速度档位Two wall slide improvements:
2026-05-21 15:58:46 +08:00
67e2d3a8ff 单向平台 2026-05-21 11:44:01 +08:00
aac24d825f 调整linkdoor 2026-05-19 16:04:40 +08:00
750baeb219 转身 2026-05-19 13:54:52 +08:00
15df36659a 抓墙 2026-05-19 13:38:39 +08:00
2dcb7a961a 角色能力,存档 2026-05-19 11:50:21 +08:00
d25f237e76 摄像机区域的优化 2026-05-17 07:56:12 +08:00
f264329751 摄像机区域的架构改动 2026-05-15 14:47:24 +08:00