Hello, everyone!
I'm trying to make a simple game. And I'm stuck on a simple thing. I need to create many UIImageViews(bullets jr something like that), shoot them and after that check their collision whith my hero. I serched, how to do that and I understood, that I have to put them in an MutableArray, but I haven't programmed for a while and so I need help.
Now to the thing, I made a NSTimer in the ViewDidLooad, that calls the method in wich I create the UIImageViews but the problem is that I need to create the UIImage and the MutableArray only once, so I made them in the ViewDidLoad but the UIImageView can't find the UIImage. This is the proble. Ineed help. I'd really appretiate it if someone would help me.
Thank you very much!
I'm trying to make a simple game. And I'm stuck on a simple thing. I need to create many UIImageViews(bullets jr something like that), shoot them and after that check their collision whith my hero. I serched, how to do that and I understood, that I have to put them in an MutableArray, but I haven't programmed for a while and so I need help.
Now to the thing, I made a NSTimer in the ViewDidLooad, that calls the method in wich I create the UIImageViews but the problem is that I need to create the UIImage and the MutableArray only once, so I made them in the ViewDidLoad but the UIImageView can't find the UIImage. This is the proble. Ineed help. I'd really appretiate it if someone would help me.
Thank you very much!