Feb-19-2021, 06:53 PM
You cannot do this:
If you want to make a game you are much better off starting with PyGame or some something similar.
while True: r.mainloop() r.update() for Laser in Laser.lasers: Laser.update() time.sleep(0.05)mainloop is a blocking function call. It will never return. You will never call r.update() and you will never call any of your laser update code.
If you want to make a game you are much better off starting with PyGame or some something similar.