I'm relatively new to coding- i've made some apps (but haven't published them).I have now started a more complicated app.
So here's my problem
1. I managed to get my figure bouncing
2. but when i add in the code to make it move left and right using gravity (below) and i try and run it this time the entire app crashes after about three seconds. I have narrowed it down to one piece of code-
The method call looks just fine. Although the interval is really small... I think you should be posting your goLeft method because it may cause problems if it is called that often.
Also, please try to give your next thread a meaningful title. Everyone around here wants help so your title doesn't convey any information. Thanks.
Cheers,
Bob
__________________ We are God’s middle children, according to Tyler Durden, with no special place in history and no special attention.
The method call looks just fine. Although the interval is really small... I think you should be posting your goLeft method because it may cause problems if it is called that often.
Also, please try to give your next thread a meaningful title. Everyone around here wants help so your title doesn't convey any information. Thanks.
Cheers,
Bob
Thanks for the reply. I will remember that for the future. If i remove that snippet of code it works perfectly! Any ideas what the problem is? Anyone?