Need help implementing shooting
If using angles, read about atan2()
This is a usual math lib method that is a life saver :)
That's how I handled my bullets.
This is a usual math lib method that is a life saver :)
That's how I handled my bullets.
also should call your function checkAlive (typo) and should not contain magic numbers (worst case make them a global constant for now so you keep your eyea on them)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement