Forum: Python Nov 3rd, 2009 |
| Replies: 3 Views: 363 Thanks vegaseat, I will keeping learning,
http://www.cs.iupui.edu/~aharris/pygame/
this is the source I learn from, good lessons for pygame with videos and powerpoints, maybe we can put the link... |
Forum: Python Nov 2nd, 2009 |
| Replies: 3 Views: 363 I kind of got what I wanted. But it's still one circle floating up at a time. Please give advice on how to make multiple circles. Thanks
import pygame, random
pygame.init()
X = 680
Y = 460
... |
Forum: Python Nov 2nd, 2009 |
| Replies: 3 Views: 363 Python beginner try to learn pygame. Here is a program I made for random color circles popping out.
import pygame, random
pygame.init()
X = 680
Y = 460
def main():
screen =... |
Forum: Python Nov 2nd, 2009 |
| Replies: 2 Views: 333 Thanks a lot vegaseat, your revised code is very helpful! |
Forum: Python Nov 1st, 2009 |
| Replies: 2 Views: 333 import pygame
pygame.init()
def main():
screen = pygame.display.set_mode((640, 480)) |
Forum: Python Mar 28th, 2009 |
| Replies: 15 Views: 2,116 sadwickman got the easiest solution, the problem of your program is that you don't need to set coin_flips = 0 in the beggining, what you wanted to do is to initialize timesFlipped to 0.
so your... |
Forum: Python Mar 22nd, 2009 |
| Replies: 6 Views: 631 Thanks Gribouillis. I am also trying the join method, just for me to learn. It's good |
Forum: Python Mar 22nd, 2009 |
| Replies: 6 Views: 631 Thank you so much sneekula, this is exactly what I want this to be. I was wondering how I should build a string, because string is immutable. Now im clear. Thank you |
Forum: Python Mar 22nd, 2009 |
| Replies: 6 Views: 631 Thank you very much Gribouillis, but is there any way to do this without the join method? We haven't covered that in class yet. |
Forum: Python Mar 22nd, 2009 |
| Replies: 6 Views: 631 I tried really hard on this one, finally came up with this, however, there's space between every number in my result because of the code 'print xxx,' , I want to find a way to delete those spaces.... |