Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pygame

Pygame: Text Not Appearing

i was following a tutorial and i'm trying to get my text to appear in the screen, here is my co… Read more Pygame: Text Not Appearing

Can Pygame Events Be Handled In Select.select Input List?

The documentation for python's select.select says: Note that on Windows, it only works for soc… Read more Can Pygame Events Be Handled In Select.select Input List?

Pygame Installation Via Pip

I'm trying to install pygame in my python 2.7. I do it in this python because for some reason i… Read more Pygame Installation Via Pip

Pygame : Smooth Picture Aparition

Can someone help me on this ? : I try to make a title that appear smoothly on the user screen : def… Read more Pygame : Smooth Picture Aparition

Permanently Delete Sprite From Memory Pygame

I want to delete a sprite permanently from the memory once an event occurs. Using self.kill() doesn… Read more Permanently Delete Sprite From Memory Pygame

Function With Input Prints Out Nothing

Ok so I'm trying to get z.ExNote() to print out an image (of an 8th note) onto a page of sheet … Read more Function With Input Prints Out Nothing

Pygame Typeerror: Missing 1 Required Positional Argument:

I am programming a game in Pygame. I kept running up on this error and I don't understand how t… Read more Pygame Typeerror: Missing 1 Required Positional Argument:

Where To Put Images Folder In Python Exe?

I have converted a python game I designed into an exe. Running the exe itself causes it to flash an… Read more Where To Put Images Folder In Python Exe?

Assigning Different Palette Indices To A Paletted Image

I'm writing a game with Python and Pygame. For this, the graphics will be in the style of old v… Read more Assigning Different Palette Indices To A Paletted Image

Blitting Pygame.surface() Onto Pygame.opengl Display

How can I blit a pygame.Surface() object onto a pygame.OPENGL display and flip the display? import … Read more Blitting Pygame.surface() Onto Pygame.opengl Display

How To Make The Ball Bounce Only If It Hits The Paddle In Python, Pygame (breakout Recreation)

can anyone help me with this? i am having trouble making a simple way to detect if a ball hits a pa… Read more How To Make The Ball Bounce Only If It Hits The Paddle In Python, Pygame (breakout Recreation)

Font File Loaded From Temp File Seems Incorrect

for key in fnt.keys(): str1 = base64.b64decode(fnt[key]) strA = XOR(str1, coder) temp… Read more Font File Loaded From Temp File Seems Incorrect

Using A Function Closes Pygame Window

The following is the String class. Using the draw function from this class in my main loop immediat… Read more Using A Function Closes Pygame Window

Multiple Bullets Pygame

I know there have been several topics on this but I still can't figure out how to make my robot… Read more Multiple Bullets Pygame

How To Display Pil Image With Pygame?

I am trying to do some video stream from my raspberry pi over the wifi. I used pygame, because i al… Read more How To Display Pil Image With Pygame?

Pygame.time.wait() Makes The Window Freez

I have a simple animation to handle where I draw a rectangle and when I click on the surface, the r… Read more Pygame.time.wait() Makes The Window Freez

How Do I Fix This Encoding Error In The Python Binary In My Pygame Project?

I'm trying to setup a project in PyCharm, but I get an error when I try to execute it. SyntaxEr… Read more How Do I Fix This Encoding Error In The Python Binary In My Pygame Project?

Trying To Change Image Of Moving Character In Every 0.25 Seconds Pygame

So i am trying to 'animate' my character in pygame by changing between 2 pictures when he w… Read more Trying To Change Image Of Moving Character In Every 0.25 Seconds Pygame

Space Invaders - Pygame - Attributeerror

I want to make the enemies shoot, firstly with the tab butten, after I get this working I want to m… Read more Space Invaders - Pygame - Attributeerror

How To Execute Event Repeatedly In Python?

I'm new to pygame programming. I need that operation increases character's speed (who is re… Read more How To Execute Event Repeatedly In Python?