title: TOWER DEFENSE: Pygame When One Tower Shoots Projectile The Other Stops How To Fix?
body: <p><a href="https://gyazo.com/e5daaa9bb929b6c6b5417562487186fe" rel="nofollow noreferrer">VIDEO</a> I am having a problem where if one of my towers shoots bullets the other towers stop shooting bullets I am not sure why this is happening ***even the I have check points where my enemy moves if they collide with it then the bullets should start shooting but if 1 is shooting then all the others stop shooting for some reason</p>
  <p>this is my first tower and second tower projectiles so whats happening is that if <em><strong>one enemy towers shoots projectiles</strong></em> the <em><strong>second one stops shooting</strong></em> even though its in range</p>
  <pre><code>
  
      for shootss in shootsright:
          shootss.x += shootss.xspeed
          shootss.y += shootss.yspeed
  
          if shootss.x &gt; 900 or shootss.x &lt; 0 or shootss.y &gt; 900 or shootss.y &lt; 0: 
              shootsright.pop(shootsright.index(shootss))
  
      
      if attack1.x &gt;= bg1.x + 9000:
          for monster in monsters:
              if monster.rect.colliderect(check2.rect)
                  timer += 1
                  if timer &gt; 60:
                     if  len(shootsright) &lt; 1:
                          BULLET_SPEED = 7
                          timer = 0
                          start_x = round(drawtower1.x+drawtower1.width-70)
                          start_y = round(drawtower1.y+ drawtower1.height-100)
                          target_x = monster.x
                          target_y = monster.y
                          delta_x, delta_y = target_x - start_x, target_y - start_y
                          distance = math.sqrt(delta_x ** 2 + delta_y ** 2)
                          dir_x = BULLET_SPEED * delta_x / distance
                          dir_y = BULLET_SPEED * delta_y / distance
                          distance = math.sqrt(dir_x**2 + dir_y**2)
                          if distance &gt; 0:
                              shootsright.append(enemyboolss(start_x,start_y,(0,0,0),dir_x, dir_y))
  
  
  
      if attack2.x &gt;= bg1.x + 9000:
          for monster in monsters:
              if monster.rect.colliderect(check11.rect):
                  timer += 1
                  if timer &gt; 10:
                     if  len(shootsright) &lt; 1:
                          BULLET_SPEED2 = 7
                          timer = 0
                          start_x = round(drawtower2.x+drawtower2.width-180)
                          start_y = round(drawtower2.y+ drawtower2.height-390)
                          target_x = monster.x
                          target_y = monster.y
                          delta_x, delta_y = target_x - start_x, target_y - start_y
                          distance = math.sqrt(delta_x ** 2 + delta_y ** 2)
                          dir_x = BULLET_SPEED2 * delta_x / distance
                          dir_y = BULLET_SPEED2 * delta_y / distance
                          distance = math.sqrt(dir_x**2 + dir_y**2)
                          if distance &gt; 0:
                              shootsright.append(enemyboolss(start_x,start_y,(0,0,0),dir_x, dir_y))
  
  </code></pre>
  <p>my full code : <a href="https://pastebin.com/7K0mLbyB" rel="nofollow noreferrer">code</a></p>