When I run my program it doesn't start (i.e. it won't even show my background, but it will show the bordr of the screen) and when I close it it says "sys.exit() SystemExit"
something I added- right under pygame.draw.lines(etc.) I put 2 "del points [0]" commands so that you could draw separate lines. Couldn't figure out how to delete bot points in 1 command >.<
something I added- right under pygame.draw.lines(etc.) I put 2 "del points [0]" commands so that you could draw separate lines. Couldn't figure out how to delete bot points in 1 command >.<
something I added- right under pygame.draw.lines(etc.) I put 2 "del points [0]" commands so that you could draw separate lines. Couldn't figure out how to delete bot points in 1 command >.<
@LamaPaj U mean that it doesnt "start" ? Python (usually) never compiles. What version of python do you use? U could try "##" too. I am using ubuntu, there i never had that kind of problem, weird... could u tell me ur shell output?
I never said it wouldnt start, i am saying that it doesnt compile. There pops up a window about there being a non ascii character and that i need to add encoding. however this is no big issue any more and i have been doing the ''' for 3 weeks :P
does anyone know a way to make it so the screen will go black? cause i wanan dd it so when c is pressed teh screen will go completely balck and erase all the lines..
Let me tighten this up real quick, thats what she said.
HalfGermanAllHammer 3 weeks ago in playlist Computer Game Development Tutorial
just wondering....
1. why are we not using lock()/unlock() in this case?
2. does pygame.draw.lines draw the whole line every time? or only draw the new part that was added to points variable?
thanks a lot for the tutorial!
plflorence 4 months ago
@plflorence My questions exactly xD
minidude22 3 months ago in playlist Computer Game Development Tutorial
Make sure to try turning it to "True." It's cool.
Vazeroth16 8 months ago
EPIC!!!
sciman001 10 months ago
lol...I liked how he mumbled "thats what she said" very quaintly lol
drewlark99 10 months ago
doesn't it technically draw the lines each time
like if you have 3 lines and then you click again then it draws the new line and the other lines again
maradona640 10 months ago
1:45 Thats what she said!! PMSL
dan08ish 10 months ago
Comment removed
dan08ish 10 months ago
When I run my program it doesn't start (i.e. it won't even show my background, but it will show the bordr of the screen) and when I close it it says "sys.exit() SystemExit"
can anyone help?
ProgaKun 10 months ago
Every time I exit with the red X, it says:
"Pythonw.exe has encountered a problem and needs to close. We are -"etc.
Not that big of a deal, though i would appreciate it if it didn't pop up every time...
FiveArc 11 months ago
make len(points)>3 and make it True to create quadrilaterals
PurexOvvnage 1 year ago
something I added- right under pygame.draw.lines(etc.) I put 2 "del points [0]" commands so that you could draw separate lines. Couldn't figure out how to delete bot points in 1 command >.<
Been loving these videos so far!
tubaboiii 1 year ago
something I added- right under pygame.draw.lines(etc.) I put 2 "del points [0]" commands so that you could draw separate lines. Couldn't figure out how to delete bot points in 1 command >.<
Been loving these videos so far!
tubaboiii 1 year ago
something I added- right under pygame.draw.lines(etc.) I put 2 "del points [0]" commands so that you could draw separate lines. Couldn't figure out how to delete bot points in 1 command >.<
tubaboiii 1 year ago
im having a problem. i cant use # to comment... D:
LamaPaj 1 year ago
@LamaPaj Because? jsut cuz its not highlited doesnt mean its wrong. bot you could also do ''' to start the comment and ''' to end it.
SaschaHeylik 1 year ago
@SaschaHeylik
It makes the program unable to compile...
LamaPaj 1 year ago
@LamaPaj U mean that it doesnt "start" ? Python (usually) never compiles. What version of python do you use? U could try "##" too. I am using ubuntu, there i never had that kind of problem, weird... could u tell me ur shell output?
SaschaHeylik 1 year ago
@SaschaHeylik
I never said it wouldnt start, i am saying that it doesnt compile. There pops up a window about there being a non ascii character and that i need to add encoding. however this is no big issue any more and i have been doing the ''' for 3 weeks :P
LamaPaj 1 year ago
how do u have it replace the current points with the new one
super0393 1 year ago
You didn't need to lock the screen?
wolterh6 1 year ago
Lol @ 1:45
wolterh6 1 year ago
i dont get was False does...
foorganders 1 year ago
pygame.thumbs-up.if.bucky.has.AWESOME.tutorials(bucky, is, awesome)
2AWESOMETV 1 year ago
"Let's tighten this up a little bit .. urr .. *that's what she said*" XD
Love your humor in your tutorials!
gorogawa 1 year ago
Comment removed
Jonte135 1 year ago
>3<
alex58765 1 year ago
I drew an awesome spiderweb with True
thrasher729 1 year ago
can you make a tutorial for creating a text editor?
supergenius1994 2 years ago
I would look in something like wxPython
LoSProgramming 2 years ago
Comment removed
lordjoey88 2 years ago
This comment has received too many negative votes show
'wht we're gonna wann douh...'
hehe
Does everyone from North Carolina speak like that?
gasto5 2 years ago
does anyone know a way to make it so the screen will go black? cause i wanan dd it so when c is pressed teh screen will go completely balck and erase all the lines..
bubbletanking 2 years ago
colour=(0,0,0)
blackbacground=pygame.surface.Surface(screen.size(),colour)
screen.blit(blackbackground)
gasto5 2 years ago
Put this under the key input from tutorial 5
if event.type == KEYDOWN: if event.key == K_c: blackScreen=background.fill(250,250,250)
FrozenIceCweam 2 years ago
screen.fill((0, 0, 0))
supergenius1994 2 years ago
thats what she said
and now i subscribe, tang kew
curranbon 2 years ago
Thank you for letting us be able to download!
stachuk1992 2 years ago
Hello m8, nice tutorials, but I got an error -> pygame.draw.line(screen, color, False, points, 2)
TypeError: Invalid start position argument
Tbh its kinda strange to have no begin pos
novaatje 2 years ago
pygame.draw.lines(screen, color, False, points, 2)
Lines not line ;)
SirStiller 2 years ago 7
you need to create the points as a list.
lfroggyl 2 years ago
thanks man this is EPIC =)
zamliman 2 years ago 10
@zamliman enta 5'abyyyyyyyyyyy
ronaldo717ful 1 year ago
never mind
codybfd 2 years ago
what language is this in?
codybfd 2 years ago
Python using the module Pygame.
bebebo30 2 years ago