Search Results

Showing results 1 to 10 of 10
Search took 0.01 seconds.
Search: Posts Made By: FengG
Forum: Python Nov 3rd, 2009
Replies: 3
Views: 363
Posted By FengG
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
Posted By FengG
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
Posted By FengG
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
Solved: Pygame question
Views: 333
Posted By FengG
Thanks a lot vegaseat, your revised code is very helpful!
Forum: Python Nov 1st, 2009
Replies: 2
Solved: Pygame question
Views: 333
Posted By FengG
import pygame

pygame.init()




def main():

screen = pygame.display.set_mode((640, 480))
Forum: Python Mar 28th, 2009
Replies: 15
Views: 2,116
Posted By FengG
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
Posted By FengG
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
Posted By FengG
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
Posted By FengG
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
Posted By FengG
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....
Showing results 1 to 10 of 10

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC