95 Topics

Member Avatar for
Member Avatar for Dan08

Hi everyone. Well I've been trying to figure this out for a quite a long time now by looking at some examples and searching the web, reading some tutorials and so on, but I don't even know where to start yet. Can you explain to me about the sprites too …

Member Avatar for TrustyTony
0
3K
Member Avatar for e-papa

Please i just downloaded the latest version of pygame, but I've been finding it difficult to install, okay when i unpacked it, everything came up, but i don't know which should go to which. Python experts in the house what do i do.

Member Avatar for e-papa
0
174
Member Avatar for Clotoss

I have been working on pygame for awhile, and now I am working on making a fairly complex space ship game. I want the player to be able to go forward with 'w' and steer by rotating the ship with the 'a' and 'd'. I've tried pygame.transform.rotate, but it makes …

0
118
Member Avatar for Hoff123

Hi! I am kind of new at pygame and I can't use functions. I define the "screen" variable outside of all functions(the "screen" variable is the "window"), and I can't use it in functions. I know it has to be global, but that won't work. Anyway the best i can …

Member Avatar for Hoff123
0
5K
Member Avatar for jeuxdeau2009

Im writing a blackjack program to train one to count cards using the Hi-Lo System. I found the engine online ( it was open sourced.) Instead of the code here using only numbers and Letters, i want to add only pictures of the cards instead of the numbers and card …

0
110
Member Avatar for Gh0st93

So I'm pretty far into development of my new game and I am trying to figure out how to do a bullet that will look like it fires from a plane sprite I thought of a way it didn't work so I went back to my old code. I would …

Member Avatar for eskimo456
0
173
Member Avatar for colts18

Hey guys I am creating a game, I am using Python and Pygame and I am trying to tell the tank to disappear when the bullet hits it. I have started to create the code but I don't know how to clear only one object is it possible. I might …

Member Avatar for TrustyTony
0
175
Member Avatar for Tsai Ming-Li

Hi everyone! ^_^ I'm learning Python with "[URL="http://openbookproject.net/thinkcs/python/english2e/"]How to Think Like a Computer Scientist - Learning with Python 2nd Edition (Using Python 2.x)[/URL]". I'm trying to use GASP & Pygame to do the practice excercises, but once the program runs, the window just keeps freezing, and I get an error …

0
80
Member Avatar for CobRalf

Hello everybody!! I know that the topic "compiling python script" is a very popular topic, and there are informations about it everywhere on the net. I use windows and want to make a .exe-executable My problem: Everything I found... * is to old * does not work (exe has an …

Member Avatar for tendragons
0
366
Member Avatar for FAITH2011

Hi cannot get images to load any help would be gratefully recieved... [CODE] import pygame import sys from pygame.locals import * sys.path.append ("C:\\Python26\Bits\player.png") ###Will not Load saved image #triedC:\Python26\Bits\player.png # and tried C:\Python26\Bits #confusing or what!!! #Whole program not here # set up the window WINDOWWIDTH = 400 WINDOWHEIGHT = …

Member Avatar for richieking
0
150
Member Avatar for FAITH2011

[B]Hi, Could someone tell me where to find a good tutorials on pygame 1.9.1 for beginner thanks[/B]

Member Avatar for emorjon2
0
114
Member Avatar for FAITH2011

Hi all, Could someone help with the position of text on screen in pygame. Basic structure would look something like this below. now I like the user to input the text position starting at top left and moving 1 space at a time until end of that line then onto …

0
100
Member Avatar for Gh0st93

I was running a game I wrote in python with pygame on my Mac 10.6 machine and I notice this Warning. "Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz." So does anyone …

Member Avatar for Gh0st93
0
170
Member Avatar for alberttruism

Hullo, I’ve been banging around all week (after re-install of Snow Leopard) trying to get python configured with MacPorts, OpenCV, and PyGame (at least). I’ve got python_select properly configured and seemingly working, but I can’t seem to get any of these modules including all at once. Currently I can include …

0
87
Member Avatar for matkod

hi, I'm creating a game with pygame and i want to create a matrix that will represent the map(where each tile will be). my pygame code is ok, because if i create the map without loading the tilemap (the matrix file) the game runs ok. that would be good but …

Member Avatar for Gribouillis
0
181
Member Avatar for DragonReeper

Okay basically I want to load an image and skew it. Does anyone have any suggestions how I can accomplish this? For a visual representation of what I want to do [CODE]+-+-+-+ |o|o|o| +-+-+-+ |o|o|o| +-+-+-+ |o|o|o| +-+-+-+ To: +-+-+-+ |o|o|o| +-+-+-+ |o|o|o| +-+-+-+ |o|o|o| +-+-+-+ [/CODE] The o's are …

0
68
Member Avatar for redyugi

I have recently redid an earlier version of my version of Pong. However, I am having a slight issue with it. Whenever the ball hits the opposing paddle and then hits the bottom, the ball travels along the bottom until the player paddle hits it. I have tried for days …

0
91
Member Avatar for wolfeater017
Member Avatar for tbone2sk
0
152
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
113
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
285
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
213
Member Avatar for jazzvibes

Hi Daniwebers I'm trying install pygame into my Python 2.6 installation. I'm running Windows 7 64bit. I had everything working before, but I was trying to install pygame into a into a Python 3.1 installation and i kept getting an error, so I thought i'd uninstall everything and try again. …

Member Avatar for jazzvibes
0
399
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
173
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
135
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
197
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
112
Member Avatar for CobRalf

Hello everybody! a few days ago, i read this post in the [URL="http://www.daniweb.com/forums/thread257510.html"]Advanced and Intermediate Projects[/URL]-Thread: [QUOTE]Create an operating system prototype/emulator in Python. You might research into various operating systems to get an idea for what to implement. Things you can implement: A login. A shell system. A explorer system …

Member Avatar for CobRalf
0
737
Member Avatar for Jordian

Hey guys, I'm pretty inexperienced with Python, but I wanted to give it a shot because I plan on using it on an upcoming visual aid contest. I've been working on a side scrolling type project where you move left and right and the backgrounds scroll across displaying various images. …

0
83

The End.