-
Notifications
You must be signed in to change notification settings - Fork 500
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
Too fast bug #8
Comments
What's your iOS version, and how exactly to reproduce? Thanks! |
I tried it on the latest IOS release (8). To reproduce the bug, just swipe to left, right, top or bottom a lot of time very fast. De : Danqing Liu [mailto:[email protected]] What's your iOS version, and how exactly to reproduce? Thanks! — |
i found the bug too, compile with Xcode6 or run on iOS 8 device , it easily crashed. It seems to a SpritKit BUG. |
I found it is SHA 3ffec54 Fixed (I think) crash on iOS 8 problem...If I revert this commit, it 's not happen again |
Yeah I saw the out-of-board thing. Haha it's actually pretty hilarious... I'm taking a look. |
@dingdaojun Do you mean that commit causes crash, or causes the tiles to go out of board? I think without that change the app will crash on iOS 8. |
That commit causes the tiles to go out of board. But with the commit, it no longer crash on iOS 8. Thanks! |
iOS 8 crash is often EXC_BAD_ACCESS, isn't it? It's break on SpritKit and I don't know how to debug. |
Okay yes. So that commit fixed EXC_BAD_ACCESS, but (possibly) introduced the out of board bug. I say possibly because it may already exist, just it would crash before it goes out |
Can you speak Chinese?I planned to use this open source game code to make an edition of "NBA 2048". Huh Huh, I found It crashed On iOS 8 so didn't commit to App Store yet. Because I don't know if Apple accept the app which only compatibly with iOS 7. |
Umm...But under iOS 8, I never see the out of board BUG. I have never used SpritKit yet before. |
I know what's going wrong here, but you certainly don't plan for me to fix the bug so you can submit this to Apple as your app, do you? |
I certainly will submit app to App Store, but I will give the whole source code to you which I changed. |
If you can leave a contact such as IM or Email, we can send private message yet. |
@ik tell me what's wrong I could make a fix |
@bberthelemy I'm looking and I'm not sure if there's a fix of < 10 lines. Basically What happens now is when you swipe fast, these two can go out of sync, and while the state tracker thinks a cell is at the first row, it may actually be at the 3rd row. Then you swipe down, and the state tracker moves the cell down by say 3 rows. Visually it will then be out of bound. I wonder if |
hi IK, thank you for your work on writing this game using sprite kit i found an issue relate to restart a new game while ago which cause memory leak? i think you fix in this build could you explain how you fix t? what was the issue? which part of code you updated? thank you jayp |
for the out of screen bug, just dont send all SKActions in the same time, i tryed to change every [_pendingActions addObject...]; by [self runAction...]; and it seems to work like that !! If you want me to update the code add me as contributor. I hope it's helpfull. |
@bberthelemy I wonder if that will have unexpected consequences.. Do you want to send a pull request? Thanks! |
When you swipe a lot of times in any direction quickly, the tiles go out the board !
![ios simulator screen shot 19 sept 2014 16 49 38](https://cloud.githubusercontent.com/assets/8833935/4337091/30ad7ade-400c-11e4-9b93-f8439ce64ba7.png)
And some blocks become unavailable ...
The text was updated successfully, but these errors were encountered: