Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for iamoldest

Okay heres my code... [ICODE] for swipeload in range (0, 15, 1): "E"+str(swipeload)+"_Path" = os.path.join("data","E"+str(swipeload)+".gif") "E"+str(swipeload) = pygame.image.load("E"+str(swipeload)+"_Path") [/ICODE] So basically I have a bunch of images called "E1, E2, E3, E4, etc..." and I want to load them all into the cache without having to type the code for …

Member Avatar for tomtetlaw
0
172
Member Avatar for iamoldest

python 2.4 how do I say... [ICODE] if x is divisible by (random number) then: [/ICODE] in python coding?!? Thanks!!!

Member Avatar for jlm699
0
100
Member Avatar for iamoldest

Okay everyone first heres a source page for this module that im having trouble with... [url]http://www.pygame.org/docs/ref/font.html[/url] Anyways my problem is finding out how to use this module to be able to print a variable with font.render....... anyone know how? Heres the code... [ICODE] #! usr/bin/env python import pygame, sys, os …

Member Avatar for sneekula
0
2K
Member Avatar for iamoldest

Hey everyone! Okay I have another pretty simple problem... [ICODE] while mainloop == 0: for event in pygame.event.get(): if (event.type == KEYDOWN): draw_level() if (event.key == K_ESCAPE): sys.exit() if (event.key == K_RIGHT): while roll == 0: if level[yd][xd + 1] == 1: xd = xd - 1 roll = 1 …

Member Avatar for jlm699
0
124
Member Avatar for iamoldest

Okay everyone i am new to this post but i have a fairly easy problem (i think)... so could someone help me out? :-) anyways heres my code in python 2.4....... [ICODE] #! usr/bin/env python import pygame, sys, os from pygame.locals import * pygame.init() something = 1 def dosomething(): something …

Member Avatar for ZZucker
0
119
Member Avatar for iamoldest

How can I write and call on arrays in python? I want to be able to do this.... [QUOTE]nameofarray1 = (1, 2, 1, 5, 6, 3, 2, 6, 8, 9), (4, 4, 3, 5, 7, 5, 5, 6, 8, 1), ....... and so on[/QUOTE] and then later read from it …

Member Avatar for jrcagle
0
88
Member Avatar for iamoldest

Would someone please help me learn how to create a 2d map using python with arrays or something ? I have been trying to find out for days and haven't found anything. I found this on the internet... [QUOTE] self.map = ( "::::::XXXXXXXXXXXXXX", "::::::..::::XX::::::", "::Z:+:XX::::..::M:::", "::::::XXX.XXXX::::::", "XXX.XXXXX.XXXXXX.XXX", "XXX.XXX/:::::XXX....", "XXX.XXX::&:::XXX.XXX", "XXX....::::M:XXX.XXX", …

Member Avatar for woooee
0
117