Advertisement

Help me learn Pygame

Started by May 22, 2014 05:26 AM
3 comments, last by Hraefn 10 years, 8 months ago

hello, it's been a while since I postedbiggrin.png .i have national exam this early month but it's already over now ^^(i need to study hard to pass the exams so a few month ago i can't open my computer to long but now i have 1 month holiday).So,i think i already know the basics of the python and want to move on to game developing,i tried Invent Your Game with Python book but i feel like it is still hard to understandunsure.png.So i'm looking some book that easy to understand,to read in this holiday or video/tutorial online that can improve both python and pygame.(i really need collision detection and tile map because i only want to make a simple RPG)

I already tried(Python):

-New boston video

-byte of python

-learn Python the hard way

-and some web(i forgot the web ^^a)

And for pygame i only tried Invent Your Game with Python.Sometimes i feel down because i can't understand what that code dosad.png(but i feel i can't stop trying) .If you have great tutorial to help me or advice i'm really appreciate thatsmile.png.Thank You

I found these to be helpful:

http://inventwithpython.com/chapters/

http://inventwithpython.com/pygame/chapters/ //you can download a pdf of the book on the site for this and the book above.

http://programarcadegames.com/

There is a specific chapter on collision detection:

http://inventwithpython.com/chapter18.html

and the pygame.org site has tutorials on it as well:

http://www.pygame.org/wiki/tutorials

I'm not certain how up to date the first links are, so

https://fedoraproject.org/wiki/Changes/Python_3_as_Default

https://docs.python.org/3/whatsnew/3.4.html

could be helpful if you run into any problems.

It's been a bit since I've used python so perhaps someone else will have a better recommendation smile.png

Good luck!

Beginner here <- please take any opinions with grain of salt

Advertisement

I found these to be helpful:

http://inventwithpython.com/chapters/

http://inventwithpython.com/pygame/chapters/ //you can download a pdf of the book on the site for this and the book above.

http://programarcadegames.com/

There is a specific chapter on collision detection:

http://inventwithpython.com/chapter18.html

and the pygame.org site has tutorials on it as well:

http://www.pygame.org/wiki/tutorials

I'm not certain how up to date the first links are, so

https://fedoraproject.org/wiki/Changes/Python_3_as_Default

https://docs.python.org/3/whatsnew/3.4.html

could be helpful if you run into any problems.

It's been a bit since I've used python so perhaps someone else will have a better recommendation smile.png

Good luck!

Thank you very much it help me a lotsmile.png

I just realized you had said you were reading Invent with Python already, so my apologies for not fully reading your question >.<. Hopefully the other links are of help though.

But, to your other point about not feeling you fully understand the code, personally, when I'm following tutorials and learning a new language, once I've tried the code as it is, I usually spend some quality time tinkering with it, trying different things until I really understand what it's all doing. I find if I simply copy it over, I don't have a good sense for what it's doing, nor do I really retain much of it. So, I try to alter it, create new things, etc. You can usually get a better sense of how it all fits together by taking the tutorial code and making something new with it.

Anyhow, best of luck! :)

Beginner here <- please take any opinions with grain of salt

I just realized you had said you were reading Invent with Python already, so my apologies for not fully reading your question >.<. Hopefully the other links are of help though.

But, to your other point about not feeling you fully understand the code, personally, when I'm following tutorials and learning a new language, once I've tried the code as it is, I usually spend some quality time tinkering with it, trying different things until I really understand what it's all doing. I find if I simply copy it over, I don't have a good sense for what it's doing, nor do I really retain much of it. So, I try to alter it, create new things, etc. You can usually get a better sense of how it all fits together by taking the tutorial code and making something new with it.

Anyhow, best of luck! smile.png

It's okaysmile.png also programarcadegames it is a great website for learning pygame,thanks for telling me that websitesmile.png and thanks for the advice i should think more deeper and tried the codes that i don't understand line by line and improving a basic codes really helping me.biggrin.png

This topic is closed to new replies.

Advertisement