Guest User

Untitled

a guest
Jun 20th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. # Shooting Variables
  2. self.shootRange = random.randint(150, 350) # generates a random integer for the shoot range between 150 and
  3. # 350. This is the pixel value of how far the shot will go
  4. # initially.
  5. self.shotVelocity = random.randint(6, 14) # generates a random integer for the shot velocity between 6 and
  6. # 14. This is the pixel value of how fast the shot will move
  7. # when the initial shoot function is called.
Add Comment
Please, Sign In to add comment