Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

robertwinters

macrumors newbie
Original poster
Mar 23, 2014
1
0
Hi,

I was wandering how easy it was to set an ammo limit on a simple shooter game in Xcode? IE I have 20 bullets to shoot 10 moving targets etc.
 
Xcode is not a language, it's just an IDE.

That being said, it is just as easy as any other language. What would be the problem you're having?
 
Hi,

I was wandering how easy it was to set an ammo limit on a simple shooter game in Xcode? IE I have 20 bullets to shoot 10 moving targets etc.

Use the - (void) setAmmoLimit: (int) AmmoLimit forTarget: (id) Target; method from the Ammo.h file.

Just kidding, I think your question is not descriptive enough to answer. This is something related with your implementation. So provide us more info about your implementation and I'm sure someone will be able to help you then.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.