NOGDUS $1670.00 has been donated to NOGDUS!
August 19, 2017, 09:51:37 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Introduction to Pygame Programming  (Read 2479 times)
0 Members and 1 Guest are viewing this topic.
Richard Marks
Administrator
Offline Offline

Respect: 3425
« on: September 04, 2007, 12:12:07 PM »

I'm thinking of writing a book on Pygame development.

You can check out the beginnings of this project here:

http://ccpssolutions.com/nogdus/members/rmarks/itpp/example01.html
http://ccpssolutions.com/nogdus/members/rmarks/itpp/example02.html
http://ccpssolutions.com/nogdus/members/rmarks/itpp/example03.html
http://ccpssolutions.com/nogdus/members/rmarks/itpp/example04.html

This started as a tutorial for you guys but I figure I might as well give it a shot.

I'm not one for writing book content, so I'll say right now that if I do write a book
then 99% of the book WILL be source code heavily commented.

It is my opinion and experience that you learn more by doing, and as such just reading about something in a book serves little purpose, as opposed to looking at working code, and reading short explanations of everything.

The way to use these pieces of code is NOT to copy/paste just to see it work,
it is to go line by line through it to see how it all works, how it fits together,
and above all, how to structure a program in a neat and efficient manner.

I've spent many years writing code, and I have been told by some of the best in the industry that my code style/standards/methods are by far some of the easiest to read, and use.
Among those that have spoken to me directly are Andre` LaMothe, John Carmack, Ernest Pazera, Bruno De Sousa, David Bourg, Frank Luna, and Jonathan Harbour.

If none of those names mean anything to you, then google them.
They are ALL people whom you should know about if you are interested in game development.
Logged

WhoNeedszzz
Offline Offline

Respect: 3
« Reply #1 on: September 04, 2007, 04:00:54 PM »

That sounds really cool. I hope that it turns out good for you.
Logged

MJC
Richard Marks
Administrator
Offline Offline

Respect: 3425
« Reply #2 on: September 04, 2007, 08:38:50 PM »

Here is part 5 of the 10 parts I plan for chapter 1
http://ccpssolutions.com/nogdus/members/rmarks/itpp/example05.html


I'm going to give you guys chapter 1 for free here, but the book will be available as an e-book for only $10.00.

Please, let me know what you think.
And if you have anything you would like me to cover in the book, tell me.  Cool
Logged

Richard Marks
Administrator
Offline Offline

Respect: 3425
« Reply #3 on: September 04, 2007, 10:59:03 PM »

And now I present you with Part 6

http://ccpssolutions.com/nogdus/members/rmarks/itpp/example06.html

This is getting fun Cool
Logged

Richard Marks
Administrator
Offline Offline

Respect: 3425
« Reply #4 on: September 04, 2007, 11:48:24 PM »

Behold! its part 7  Grin

http://ccpssolutions.com/nogdus/members/rmarks/itpp/example07.html

Eight is underway...and its getting good  Cool
Logged

Richard Marks
Administrator
Offline Offline

Respect: 3425
« Reply #5 on: September 05, 2007, 05:59:42 AM »

Okay..my fingers are officially tired  Grin

Here are two highly useful modules for beginning a real Physics Engine.

First, a 2D Vector class

http://www.ccpssolutions.com/nogdus/members/rmarks/itpp/VectorClass.html

And then the Physics Entity class

http://www.ccpssolutions.com/nogdus/members/rmarks/itpp/EntityClass.html

I'll cover usage in a later chapter (so that means you have to buy the book for help with these classes. Do NOT ask me questions about them on IRC or in a meeting. You want to know what to do with them, then buy the book when its finished.)
I Thought I would be nice and drop the code on you beforehand so you can look through it, and possibly understand some of it if you're smart enough to figure it out.  Wink

Anyhow..its 6am now...and I am quite TiR3D! Cool
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
.: Theme by Richard Marks :.
Valid XHTML 1.0! Valid CSS!