Introduction to Pygame Programming

<< < (2/2)

Richard Marks: fingers are officially tired  ;D

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

First, a 2D Vector class

And then the Physics Entity class

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.  ;)

Anyhow..its 6am now...and I am quite TiR3D! 8)


[0] Message Index

[*] Previous page