I'm sure there's probably a very simple solution but I can't figure out what to do. What is the best way to test for an image crossing a certain barrier? (i.e. image is constantly being animated and if it goes into a certain area game over)
The only thing I can think of is a while(YES) loop but I wouldn't really know where to put that...I see
but I tried implementing it exactly as it says and I got errors.
Any help?
And I really hope the answer isn't "you have to manually move the image view and not use UIView beginAnimations" etc.
Oh, and if you couldn't tell I just started this a week ago..so I don't really know what I'm doing. The app I'm trying to make is pretty simple though, I could make it in java easily.
The only thing I can think of is a while(YES) loop but I wouldn't really know where to put that...I see
Code:
- (void)animation:(NSAnimation *)animation didReachProgressMark:(NSAnimationProgress)progress
Any help?
And I really hope the answer isn't "you have to manually move the image view and not use UIView beginAnimations" etc.
Oh, and if you couldn't tell I just started this a week ago..so I don't really know what I'm doing. The app I'm trying to make is pretty simple though, I could make it in java easily.