Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TR1X bug: Demo 1 desync if fix bear AI enabled #1370

Closed
aredfan opened this issue May 12, 2024 · 5 comments · Fixed by #1371
Closed

TR1X bug: Demo 1 desync if fix bear AI enabled #1370

aredfan opened this issue May 12, 2024 · 5 comments · Fixed by #1371
Assignees
Labels
Priority: low This may or may not be worked on in the future. TR1X bug A bug with TR1X
Milestone

Comments

@aredfan
Copy link
Collaborator

aredfan commented May 12, 2024

Dev snapshot: 4.1.2-26-g7351e7c


At the end of the first demo when the bear attacks Lara, there is a small desync. Left is 30 FPS, right is 60 FPS. The desync only happens when playing in 60 FPS.

Video: https://drive.google.com/drive/folders/1wmzMAn9ARRajbLqT-yPeq5V_3-5S1T7v?usp=sharing

This is probably one of the trade-offs when using 60 FPS, if that's the case then please feel free to close the issue.

@aredfan aredfan added the TR1X bug A bug with TR1X label May 12, 2024
@Richard-L
Copy link
Collaborator

Richard-L commented May 12, 2024

I've also had desyncs on both demos, but it was a bit tricky to work out if some of the new aiming modes from TR4 was the culprit.

I'd like to motivate auto-disabling any of these things for the demos only, also lean jumping and what not could mess with them, to keep them intact regardless of what the user has configured. 60fps though would be nice to maintain of course 😅

@aredfan
Copy link
Collaborator Author

aredfan commented May 13, 2024

Yep there was a bug with the new aiming modes affecting both demos, but that was fixed in #1179.

I found the cause for this issue, demo mode 1 is affected by the Fix bear AI option.

@Richard-L
Copy link
Collaborator

Oh excellent find!

@walkawayy
Copy link
Collaborator

Maybe it's worth adding in those config presets (#653). Then we could have a Demo TR1 preset or something like that which gets updated if new config options are added. Then demo mode could load / unload the preset OG config instead of hard coding and restoring specific options in the demo code. I guess only certain options affect demo mode though and the user might want to display their custom bar colors and the like.

@Richard-L
Copy link
Collaborator

Excellent idea imo

walkawayy added a commit to walkawayy/TR1X that referenced this issue May 13, 2024
@walkawayy walkawayy self-assigned this May 13, 2024
@walkawayy walkawayy added this to the 4.2 milestone May 13, 2024
@walkawayy walkawayy added the Priority: low This may or may not be worked on in the future. label May 13, 2024
@walkawayy walkawayy changed the title TR1X bug: Demo 1 desync - 60 FPS TR1X bug: Demo 1 desync if fix bear AI enabled May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: low This may or may not be worked on in the future. TR1X bug A bug with TR1X
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants