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

Enemy Not Staying At Original Spot

So I been trying make my enemy move at the same spot while my player moves the camera but it's … Read more Enemy Not Staying At Original Spot

How To Measure Time In Python?

I want to start my program, measure the time when the program starts and then wait some seconds, pu… Read more How To Measure Time In Python?

How To Add A Background Image In Python-pygame

I'm making a game, brickbreaker. I'm tring to add an image on the background, but it doesn&… Read more How To Add A Background Image In Python-pygame

Pygame Window Won't Stay Open

I decided to try and make the snake-eating dot game on my own. I can't make my pygame window st… Read more Pygame Window Won't Stay Open

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

Draw Rectangle Over Texture Opengl

I'm using python 3 with pygame and OpenGL to try to accomplish what I thought it would be a sim… Read more Draw Rectangle Over Texture Opengl

Cmd Pip Displaying Errors Whenever I Try To Install Pygame

I am on a windows 10 system, and I recently installed the latest version of python python 3.7.0. I … Read more Cmd Pip Displaying Errors Whenever I Try To Install Pygame

Using Multiprocessing With Pygame?

I'm trying to separate my input loop from my game logic in my simple snake game that I've m… Read more Using Multiprocessing With Pygame?

Pygame Sprite Not Moving While Jumping

I'm confused why my sprite is not moving while jumping. I've checked several times and chan… Read more Pygame Sprite Not Moving While Jumping

Pygame: Drawing Lines

In my previous question For Loop Functions in Python, I had trouble with putting functions that con… Read more Pygame: Drawing Lines

How Can I Successfully Install Pygame Into Python3 On Mac? I Tried A Lot Of Syntaxes To Download Pygame In Python3. But None Of Them Worked

I had successfully installed pygame in python2 using pip on Mac. But I was unable to install pygame… Read more How Can I Successfully Install Pygame Into Python3 On Mac? I Tried A Lot Of Syntaxes To Download Pygame In Python3. But None Of Them Worked

Python & Pygame: Can't Get Out Of Paused State

I'm new to Python and Pygame and I programmed a little game and tried to implement a pause menu… Read more Python & Pygame: Can't Get Out Of Paused State

How To Make A Circle Semi-transparent In Pygame?

I'm somewhat new to pygame and trying to figure out how to make a circle semi-transparent. The … Read more How To Make A Circle Semi-transparent In Pygame?

My Collision Detection Is Not Working Properly

I was programming a game in python using the pygame and math modules. I wrote these codes for doing… Read more My Collision Detection Is Not Working Properly

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?

Receiving Valueerror: Invalid Recstyle Object

I am following the instructions of a pygame project on youtube, this is the video, I am on the proj… Read more Receiving Valueerror: Invalid Recstyle Object

Pygame 'left' Is Not Defined

I'm working on a game. I have pygame imported. I am using Python 3.3 and Pygame 3.3. The same … Read more Pygame 'left' Is Not Defined

I Am Making A Mp3 Player , And I Need A Forward Button To It But Cant Seem To Figure It Out

So, for playing the song, the code I have is: def play_song(*args): idx = song_list.curselectio… Read more I Am Making A Mp3 Player , And I Need A Forward Button To It But Cant Seem To Figure It Out

Problem In Speed Of Animation In Python(pygame)

I am making a ninja game in which a ninja has to dodge obstacle by jumping(pressing spacebar), but … Read more Problem In Speed Of Animation In Python(pygame)

How To Resize Button After Resizing Pygame Window?

I have a menu (main_menu), that has a Button and I want this button to stay in the middle after I r… Read more How To Resize Button After Resizing Pygame Window?