You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Camera Shake 2D with feature requested in #2429 (#2448)
Thank you, @bunny-therapist, for the feature request!
Also adds the context manager interface, allowing for the following neat code:
```py
with self.shake, self.camera.activate():
# draw commands that want to be drawn with screen shake,
# outside of the with block the shake has been removed, and the camera has been deactivated.
```
closes#2429 and #2446 (Thank you for the PR, but due to the extra feature I've made my own PR)
0 commit comments