Hello guys once again and welcome to my channel Everything That I can.
In this video I have taught you how to create shapes in python programming language in Spyder IDE. This video is a must for those who like creating games and programs in python spyder IDE. This is the link for the RGB COLOURS
====================================================
https://www.webucator.com/blog/2015/0...
=====================================================
This is the Programme for this video
=======================================================
import pygame
pygame.init()
shapeWin = pygame.display.set_mode((500,500))
Black = (0,0,0)
Blue = (0,0,255)
Green = (0,255,0)
Red = (255,0,0)
Grey = (128,128,128)
rect_length = 10
rect_width = 10
pygame.draw.line(shapeWin, Green, (100,100), (500,500),5)
pygame.draw.rect(shapeWin, Red,(100,300,50,50))
pygame.draw.circle(shapeWin, Grey, (250,250),50)
run = True
while run:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
quit()
pygame.display.update().
====================================
You can see my other projects at GITHUB
https://github.com/kratos1765?tab=pro...
====================================
My other videos
==============================================================================
Adding colours to text in C++ • Adding Colours To Text (C++ FULL TUTORIAL)
For loop in C++ • The For Loop ( C++ Easy Tutorial )
Simple But Advance Calculator(C++) • Video
===============================================================================
I hope you enjoyed the video. If yes then please subscribe, comment share and like.
SEE YOU IN THE NEXT VIDEO
BYEEE...