Added: 2 years ago
From: thenewboston
Views: 11,620
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (47)

Sign In or Sign Up now to post a comment!
  • Let me tighten this up real quick, thats what she said.

  • 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 My questions exactly xD

  • Make sure to try turning it to "True." It's cool.

  • EPIC!!!

  • lol...I liked how he mumbled "thats what she said" very quaintly lol

  • 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

  • 1:45 Thats what she said!! PMSL

  • Comment removed

  • 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?

  • 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...

  • make len(points)>3 and make it True to create quadrilaterals

  • 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!

  • 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!

  • 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 >.<

  • im having a problem. i cant use # to comment... D:

  • @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

    It makes the program unable to compile...

  • @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

    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

  • how do u have it replace the current points with the new one

  • You didn't need to lock the screen?

  • Lol @ 1:45

  • i dont get was False does...

  • pygame.thumbs-up.if.bucky.has.­AWESOME.tutorials(bucky, is, awesome)

  • "Let's tighten this up a little bit .. urr .. *that's what she said*" XD

    Love your humor in your tutorials!

  • Comment removed

  • >3<

  • I drew an awesome spiderweb with True

  • can you make a tutorial for creating a text editor?

  • I would look in something like wxPython

  • Comment removed

  • 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..

  • colour=(0,0,0)

    blackbacground=pygame.surface.­Surface(screen.size(),colour)

    screen.blit(blackbackground)

  • Put this under the key input from tutorial 5

    if event.type == KEYDOWN: if event.key == K_c:  blackScreen=background.fill(25­0,250,250)

  • screen.fill((0, 0, 0))

  • thats what she said

    and now i subscribe, tang kew

  • Thank you for letting us be able to download!

  • 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

  • pygame.draw.lines(screen, color, False, points, 2)

    Lines not line ;)

  • you need to create the points as a list.

  • thanks man this is EPIC =)

  • @zamliman enta 5'abyyyyyyyyyyy

  • never mind

  • what language is this in?

  • Python using the module Pygame.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more