Pygame (Python Game Development) Tutorial – 54 – Tank Body

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

6 responses to “Pygame (Python Game Development) Tutorial – 54 – Tank Body”

  1. Joe Smith Avatar

    On this line:

    pygame.draw.rect(gameDisplay, black, (x – tankHeight, y, tankWidth, tankHeight))

    why are you minusing the x co-ordinate with tankheight?

  2. Francisco Favela Avatar

    The problem around 1:50, is because of how integer division is handled in python.
    python 2.x => 1/2 = 0, 20/2 = 10
    python 3.x => 1/2 = 0.5, 20/2 = 10.0
    You are using python 3.x

  3. Tatrasiel R Avatar

    I have looked on the net for such things and I must say that these are the best tutorials for Pygame I have ever seen! The only thing I could want more is blitting gifs or maybe a PySDL . I think however, that these are out of the scope of this series. Either way, I will keep watching this series!

  4. CatFlights Avatar

    I'm loving these videos, it has become part of my daily routine to work on these games as the videos come out.

  5. Talz1803 Avatar

    Thank you for doing what you do. These videos are invaluable to me.

  6. Merthalophor Avatar

    Ngggh, didn't think you'd go that far, now I do have to watch your tutorials anyway… 

Leave a Reply

Your email address will not be published. Required fields are marked *