I'm trying to create a typing game,and want the person to type the words that are displayed in under a certain amount of time, given through parameters in a function. I have no idea how to do this. I ...

the code below is the bullet class for my shooter game in pygame. as you can see if you run the full game (https://github.com/hailfire006/economy_game/blob/master/shooter_game.py) the code works great ...

I'm creating a typing game, and I want someone to type the word that is displayed, thing is. I don't know how to do it. The words come from a .txt file, each word is on it's own line. A random number ...

I'm creating a typing game, and I'm trying to display a random line of text from a .txt file, the only problem, when it shows up on the pygame window, it has this at the end: []. Any suggestions? Any ...

I'm coding a game in pygame and I need a function that accepts a start (x1,y1) and an end (x2,y2) as arguments. Using the pygame line drawing function, I can just draw a line straight from one point ...

I have a problem with this simple game where the obstacle creation is making the game lag terribly, as well as become a red streak instead of a single cube:
import pygame
import random
pygame.init()
...

I am using pygame with python 2.7.10 and ive tried this on 3 different computers, linux,mac,and windows. It has not worked on either of those and I have tried many different types of sound files. (ex. ...

I'm trying to create a typing game. You know that point in many apps,where there is a level select, and there are several pages. Yeah, I'm trying to do that. Every time I select the button to move to ...

First Post!
I am a barely a novice when it comes to programming. I started messing with python for a class I took for fun. Anyways, I followed some videos and made this game and added my own tweeks. ...

So I'm trying to create a typing game. I've created some parts of it (I'm not asking you to finish it), but there is this one part in particular I'm having trouble with. You how you're playing a game ...

I'm trying to randomly create an obstacle in a simple game every 0.5 - 2 seconds. I already have a function for creating my obstacle, but I can't time the instantiation. I've tried researching this, ...

Looking at 4-note polyphony, where notes are sampled audio (wav/mp3/ogg files). Is there some asynchronous audio library where I can tell the library to play an audio file (to completion, or a certain ...

I'm coding a 2d top down shooter in pygame and I'm running into an issue with the vector graphics of the bullet i'm trying to fire. The bullets are firing, but they're not firing towards the cursor ...

I'm trying to create a "text based game" in a window, using fonts and makeshift buttons. Everything works fine, but when there are multiple buttons on the screen and only one is pressed, the others' ...

I have a folder called cards which has png playing card images H, D, C and S 01-13.
The card dealer code below works on a Raspberry Pi under Raspbian, but when run in Pycharm (Python 3.4) it executes ...

I am currently working on a Python [Tkinter] Rock Paper Scissors GUI application. So far I've been able to construct the interface and even allow the user to make their selection. The only problem is ...

A friend and I are making a game in Python (2.7) with the Pygame module. I have mostly done the art for the game so far and he has mostly done the coding but eventually I plan to help code with him ...

We have recently moved our school lab to Mac, and when I run some code to display an image from a file, the display appears then disappears immediately. I am using the 3.4 interpreter in Pycharm and ...

I'm writing a game in pygame, and I have a class that makes a heads up display with stats for each building when you click on it. the class variable current_hud starts as None, but when a building is ...

I want to start learning how to use Pygame.
I haven't downloaded the actual file because I don't want to download a version that is old or not recommended. I'm using Python 3.4.
Which file should I ...

A friend and I are making a game in Python 2.7 with the Pygame module. I have mostly done the art for the game so far and he has mostly done the coding but eventually I plan to help code with him once ...

I get a IdentationError: expected an indented block
which points to the line containing -> break
I am been trying to fix this error since this morning, I can make it work on python 2.7. I am pretty ...

I get a error of a integer expected a float so I change it and then get the reverse saying a float can not be a integer. I had similar issues before and just changed it to have the int.
I am learning ...

Im creating a Blackjack program using Pygame and i don't really understand the methods of how to load the entire deck of images and then display them properly.
Currently im just playing with stuff, ...

I would like to know how to create a border in Pygame to stop the user controlled object from exiting the screen. Right now, I only have it so python prints some text when the user controlled object ...

In short: With the same python script and the same monitor, using PyGame in fullscreen mode produces two different sized images on two different computers.
I am trying to run a PyGame script on two ...