HOW to draw a RECTANGLE on pygame window || PYGAME-PYTHON HINDI TUTORIAL

Pubblicato il: 26 settembre 2021
sul canale di: CODING LIFE
100
0

PYTHON PLAYLIST:

   • Python PROGRAMMING  
CODE:

import pygame
pygame.init()

x = 700
y = 700

green = (0,255,0)

win = pygame.display.set_mode((x,y))

over = False

rx = 350
ry = 350

pygame.draw.rect(win,green,[rx,ry,50,60])

pygame.draw.rect(windowName,color,[x,y,length,breadth])

while over == False:
for event in pygame.event.get():
if event.type == pygame.QUIT:
over = True

pygame.display.update()

pygame.quit()
quit()


In questa pagina del sito puoi guardare il video online HOW to draw a RECTANGLE on pygame window || PYGAME-PYTHON HINDI TUTORIAL della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CODING LIFE 26 settembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 100 volte e gli è piaciuto 0 spettatori. Buona visione!