How's my pygame code?

Posted by Isaiah on Stack Overflow See other posts from Stack Overflow or by Isaiah
Published on 2010-05-29T16:48:36Z Indexed on 2010/05/29 16:52 UTC
Read the original article Hit count: 335

Filed under:
|
|
|

I'm still getting the hang of lots of things and thought I should post some code I made with pygame and get some feedback^^.

I posted code here:
http://urlvars.com/code/snippet/39272/my-bouncing-program
http://urlvars.com/code/snippet/39273/my-bouncing-program-classes

There's tome things that I implemented that I'm not using yet I just realized like a timer at the bottom of the main while loop. If my code isn't readable, I'm sorry, I'm self taught and this is the first code I've ever posted anywhere.

By the way I made some variables that take the screensize and half it to find a point to spit out the squares, but when I try to use it, it makes a weird effect :/ Try switching the list i have in the newbyte() function with the halfScreen variable and see it freak out o.O

thank you

© Stack Overflow or respective owner

Related posts about python

Related posts about pygame