i really dont know why it does this, it only started doing it when i added the [i] for more than one player. from the very small window at the end i can see that my code works and it has implemented the "aliens" but its still blank. i thought it was a problem with the updating feature but i didnt make any changes to it since i added it the first time and it worked them. its possible a problem with the indedntations. pls help

 for i in range(num_of_enemies):
        enemyX[i] += enemyX_change[i]
        if enemyX[i] <= 0:
            enemyX_change[i] = 4
            enemyY[i] += enemyY_change[i]
        elif enemyX[i] >= 686:
             enemyX_change[i] = -4
             enemyY[i] += enemyY_change[i]

this could be a problem

collision = isCollision(enemyX[i], enemyY[i], bulletX, bulletY)
        if collision:
            bulletY = 480
            bullet_state = "ready"
            score += 1
            print(score)
            enemyX[i] = random.randint(0, 687)
            enemyY[i] = random.randint(50, 150)

    enemy(enemyX[i], enemyY[i], i) 



or this (btw its right underneath my first one)

I don’t think you’re showing us a large enough amount of your code, or providing us a clear understanding of what isn’t working, for us to be able to help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.