Pygame Zero Glitch

I can’t get this line of code to work, it works on my normal IDLE but not on replit but replit still says it installs it sucessfully and i’ve seen other projects use Pygame Zero
Repl link:
Source Code:

import pgzrun

WIDTH = 800
HEIGHT = 600

def draw():
    screen.clear(), 300), 30, 'white')


Hi @ParanormalCoder can you try this code in a new Repl PyGame template and let me know if it works?

1 Like

It’s working now thanks so much! :smiley:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.