Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~44.1K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

14 Posted Topics

Member Avatar for vegaseat

[QUOTE=vegaseat;700702]The module pygame makes it easy to load, display and move images around the screen ... [code=python]# experiments with module pygame # free from: http://www.pygame.org/ # load, display and move an image import pygame as pg # initialize pygame pg.init() # pick an image you have (.bmp .jpg .png .gif) …

Member Avatar for vegaseat
23
34K
Member Avatar for wolfeater017
Member Avatar for tbone2sk
0
168
Member Avatar for wolfeater017

is it possible to link modules together and freeze them into an executable using cx_freeze? and how can you do it

0
121
Member Avatar for wolfeater017

how do you get it in pygame so that when you click on a rect it will reset the window but only when you click on that certain rect

Member Avatar for wolfeater017
0
120
Member Avatar for wolfeater017

I have python 3.0 and im trying to get this code to work but I don't believe it is recognizing all the attributes it's supposed to. [CODE]import pygame, sys, random from pygame.locals import * #*******************************************SETUPVAR************************************************** BLACK = (0, 0, 0) WHITE = (255, 255, 255) RED = (255, 0, 0) …

Member Avatar for wolfeater017
0
301
Member Avatar for wolfeater017
Member Avatar for vegaseat
0
2K
Member Avatar for wolfeater017

Please help me with this bug. I have python 3.0 and I was using pygame and for some reason it isn't reconizing [CODE]windowSurface[/CODE] here Is the code Im having problems with and thanks in advance. [CODE]import pygame, sys, random from pygame.locals import * #*******************************************SETUPVAR************************************************** BLACK = (0, 0, 0) WHITE …

Member Avatar for tbone2sk
0
225
Member Avatar for wolfeater017

Im having troubles learning how to make an executable so can someone show me what Im doing wrong [import time from cx_Freeze import setup, Executable setup( name = "hello", version = "0.1", description = "the typical 'Hello, world!' script", executables = [Executable("hello.py")]) [GO AHEAD AND IGNORE THE REST OF THE …

Member Avatar for wolfeater017
0
1K
Member Avatar for wolfeater017

[This is a really long code so im just going to put the traceback part in and where I think the problem is] [def directions(): enter=0 nwscreen() Font1 = pygame.font.SysFont('ActionIsShaded', 25) d1 = basicFont.render('Directions',False,WHITE,BLACK) d2 = Font1.render('Directions',False,WHITE,BLACK) d3 = Font1.render('ALL ANSWERS MUST BE LOWERCASE',False,RED,BLACK) d4 = Font1.render ('Press enter to …

Member Avatar for TrustyTony
0
200
Member Avatar for wolfeater017

I've heard of the working file in python before and was just wondering what it was and where I can find it in python

Member Avatar for vegaseat
0
150
Member Avatar for wolfeater017

Im trying to use a different font in pygame but every time I run it I get this syntax error message [Traceback (most recent call last): File "C:\Python31\pytest.py", line 22, in <module> font1 = pygame.font.Font('C:\ActionIsShaded.ttf', 12) IOError: unable to read font filename] I tried getting rid of the qoutes around …

Member Avatar for vegaseat
0
5K
Member Avatar for wolfeater017

:SHave they made a py2exe 3.0 yet and if so where in the internet can you find or have they just not made one yet?:confused: If not how else can I turn my programs into executables?:-/

Member Avatar for Beat_Slayer
0
214
Member Avatar for prashanth s j

this is a little complicated but I think the first thing you need to do is give whatever you what to have printed out a variable like z. Then your code should be something like this you may have to play with it a little depending on what verision of …

Member Avatar for TrustyTony
0
291
Member Avatar for wolfeater017

When I finally got the input to work in this code it stopped displaying the txt on the screen. Any suggestions on how to fix this. [code]import pygame, sys from pygame.locals import * import time mo = 0 # set up pygame pygame.init() # set up the window windowSurface = …

0
123

The End.