[Solved] Stop an Increment [closed]


Basically, I’d say “don’t add Y if the statement is true”, but I may be misunderstanding your question, it seems quite simple. A ternary operator in the CGPointMake will take care of it:

Bullets.center
    = CGPointMake(Airplane.center.x, Airplane.center.y + (CONDITION ? 0 : Y));

solved Stop an Increment [closed]