How do I make it so the enemies stop spawning and despawning across the whole screen?

Published: 22/09/2019
How do I make it so the enemies stop spawning and despawning across the whole screen?
Source: STACKOVERFLOW.COM

I'm making this PvE RPG game where you play against zombies. Though I've hit a brick wall where I don't know how to spawn multiple enemies at mass. They keep appearing and disappearing across the whole screen. It's been 2 days now. Though quitting isn't an option for me. Any ideas? Heres the code: while True: class Enemy: def __init__(self, x, y): global emovingup, emovingdown, emovingleft, e

Read more
Related news
Comment
FACEBOOK