Hi Guys, if you like the video or find the video useful, please support the channel by LIKING and SUBSCRIBING. Thank you for your support!
@DaLastMonster3 жыл бұрын
what is the best way to calculate vertical and horizontal lines for checkerboard individual squares? I am trying to represent fences for a Quoridor type game and I want the fences to fit exactly to the height and width of each individual rectangle. I guess the best way to visually describe it is that I want one side of a rectangle border via the draw line method, so I want the leftmost vertical border line for a rectangle.
@afailable3 жыл бұрын
Good job getting straight to the point
@pier81053 жыл бұрын
Bro, thanks so much!!! I’ve been trying to figure out how to draw a rectangle for days!!
@mkcodingspace3 жыл бұрын
Glad it helps :)
@meeswouterse90772 жыл бұрын
Thanks bro, it really helped me out, gonna drop a follow for sure
@stutteringcris4682 жыл бұрын
my backround won't turn white..... and my pygame.display.update() keeps getting an error
@meeswouterse90772 жыл бұрын
is the order in wich your lines are inside the main loop correct? i had the same problem but mine got fixed when i changed the order correctly, hope tis helps :D
@stutteringcris4682 жыл бұрын
@@meeswouterse9077 it helped when I finally realized that the orders of the lines, MATTER! Thanks for your your tip!
@carlriley55802 жыл бұрын
You might have to teach the other channels how to make videos. Good Job.
@mkcodingspace2 жыл бұрын
I have been a tutor for quite some time, and have gained some experience :D
@zeybess64672 жыл бұрын
quick question how do i fix iccp known incorrest sRGB profile
@madhavkrishnab60882 жыл бұрын
Thank you 👌😃
@athanb943 жыл бұрын
very helpful tutorial, thank you man. subbed
@BRIJESH_VYAS2 жыл бұрын
I have problems with " clock has no attributes tick" how to solve?
@mariekorthuis53083 жыл бұрын
Thank you, this was very helpful!
@RainDev.2 жыл бұрын
I keep getting a error at "state=False" any help? (python 3.8.2) Edit1: also an error at "pygame.display.update()"
@legend33053 жыл бұрын
bro...it does not work
@mkcodingspace3 жыл бұрын
If you give more information, I might be able to help. Thanks.
@حسينمحمدكاظم-ي6غ3 жыл бұрын
maybe u did something wrong? maybe
@thomasbassil1402 жыл бұрын
maybe you forgot pygame.display.update()
@dynast75502 жыл бұрын
when you were making the straight line u forgot to add width to it it should be startX=0; startY=0; endX=720; endY=480; width=10 pygame.draw.line(WIN, BLACK, (startX, startY), (endX, endY) , width) and not what you put startX=0; startY=0; endX=720; endY=480; width=10 pygame.draw.line(WIN, BLACK, (startX, startY), (endX, endY)) you do not have the width added to urs (also my window resolution is different and i used mine for second example just took away width i also had wn named WIN instead and a different thickness) it is used to make ur line thicker so put a comman then width at the end of them bracket thingys