Untitled

mail@pastecode.io avatar
unknown
plain_text
8 days ago
256 B
1
Indexable
Never
import pygame as pg
import pygamebg

(sirina, visina) = (400, 400)
prozor = pygamebg.open_window(sirina, visina, "Pygame")

prozor.fill(pg.Color("white"))

pg.draw.line(prozor, pg.Color("black"), (100, 100), (300, 300), 5)

pygamebg.wait_loop()
Leave a Comment