Skip to content

Conversation

DeltaEpsilon7787
Copy link
Contributor

@DeltaEpsilon7787 DeltaEpsilon7787 commented Apr 26, 2023

Summary

SUMMARY: [Performance] "Explosion animation speed made consistent with animation delay"

Purpose of change

Addresses and closes #2698. Additionally makes 0 animation delay not animate the explosion at all.
Also a number of bugfixes related to Made of Explodium update (#2601).

Describe the solution

Explosion animation system uses wall clock to time events instead of relying on nanosleep which disregarded rendering overhead, causing animation delay option to have a non-linear relationship with actual animation speed.

Describe alternatives you've considered

#2699

Testing

Check "rule of cool explosion merge conflict resolving" thread in BN Discord.

Additional context

N/A

@github-actions github-actions bot added JSON related to game datas in JSON format. src changes related to source code. labels Apr 26, 2023
@github-actions github-actions bot removed the JSON related to game datas in JSON format. label Apr 26, 2023
Copy link
Member

@scarf005 scarf005 left a comment

Choose a reason for hiding this comment

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

2023-04-26.21-22-39.mp4

i must admit, i've spent too much time playing with the PR
anyways changes look good.

@scarf005 scarf005 merged commit 307e9e3 into cataclysmbnteam:upload Apr 26, 2023
@DeltaEpsilon7787 DeltaEpsilon7787 deleted the roc_v0.2_expl_fixes branch April 26, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Animation delay regression after Rule of cool explosion v0.2
2 participants