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

Demo: Balls don't always collide with screen borders #28

Open
icanzilb opened this issue Dec 30, 2016 · 2 comments
Open

Demo: Balls don't always collide with screen borders #28

icanzilb opened this issue Dec 30, 2016 · 2 comments

Comments

@icanzilb
Copy link
Member

It feels like this might be a SpriteKit issue of some sort but when I run the demo app on iOS10 iPhone 6s Simulator the balls sometimes just wonder off the screen.

Does anyone want to have a look at this and send a PR if they find a fix?

@icanzilb
Copy link
Member Author

maybe @hollance 👆 ?

@hollance
Copy link
Member

This may be a timing issue, maybe where the delta time becomes "too large" and the next animation step jumps past the thing it's supposed to collide with. Or not. It's been ages since I looked at this code.

There used to be collision problems with some older version of SpriteKit but I think that was in the beta and was fixed at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants