Hello how can i check if something is in the camera boundaries? [HELP] #2331
Unanswered
joetifa2003
asked this question in
Q&A
Replies: 1 comment
-
In case you have not solved this yet. Screen boundaries (in world coordinates) are from: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is an implementation of Conway's game of life and I want to do optimization so that any blocks (cells) outside the camera do not render. Currently, this works but with no zoom support.
In other words, I want the camera rect to check for a collision that works with zoom
Or other ways to check if something is inside the camera boundaries that consider zooming
repo: https://github.com/joetifa2003/GOL
Beta Was this translation helpful? Give feedback.
All reactions