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

Pygame Dual Monitors And Fullscreen

I am using pygame to program a simple behavioral test. I'm running it on my macbook pro and hav… Read more Pygame Dual Monitors And Fullscreen

Pygame Making A Sprite Face The Mouse

Im New To Pygame But Kinda OK On Python, Im Creating A Zombie Shooting Game With an overhead view. … Read more Pygame Making A Sprite Face The Mouse

How To Spawn A Sprite After A Time Limit And How To Display A Timer Pygame

i would like to spawn a 'boss' Sprite after a certain time has passed or x amount of mobs h… Read more How To Spawn A Sprite After A Time Limit And How To Display A Timer Pygame

Draw A Circle In Pygame Using Tkinter

using bits of code from another question, I embedded a pygame window in a tkinter window, I'm t… Read more Draw A Circle In Pygame Using Tkinter

.off Files On Python

I've been practicing with Python and PyOpenGL, but I can't seem to open .OFF files (Object … Read more .off Files On Python

Why Are My Rects Not Working And Making The Player Interact With The Door As It Is Supposed To In Pygame

I am trying to make the player sprite act when he touches the door but it is not working. I am tryi… Read more Why Are My Rects Not Working And Making The Player Interact With The Door As It Is Supposed To In 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?

How To Make A Pygame Sprite Group Move?

I made a pygame.sprite.group for my enemies. I can display them on the screen, but I don't kno… Read more How To Make A Pygame Sprite Group Move?

Pygame Make A Circle Rotate Around Another

I would like to make some kind of solar system in pygame. I've managed to do a fixed one but I … Read more Pygame Make A Circle Rotate Around Another

Pygame Event Queue

I would like to know if there is a way of using poll() or get() without removing the events from th… Read more Pygame Event Queue

Pygame - Play Sounds Simultaneously

I am making a Game using Pygame and what I'm trying to do is to have a main sound for every lev… Read more Pygame - Play Sounds Simultaneously

Scaling An Image/rectangle In Pygame

Is it possible to 'scale' a rectangle inside of pygame. Kinda like when you scale your wind… Read more Scaling An Image/rectangle In Pygame

How Do You Delay Specific Events In A While Loop?

Recently I've been working with a simple and straightforward RPG in python with pygame, but I&#… Read more How Do You Delay Specific Events In A While Loop?

Getting The Center Of Surfaces In Pygame With Python 3.4

I'm having troubles getting the center of surfaces with pygame. It defaults to the upper left c… Read more Getting The Center Of Surfaces In Pygame With Python 3.4

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)

Playing Sound On Right Or Left Speaker On Mouseover

I am trying to make small program in python, using PyQt5. The program will as have two buttons, and… Read more Playing Sound On Right Or Left Speaker On Mouseover

Call Function By Button Click In Pygame

I got a screen with buttons in Pygame here in the code below. Now I want to click the button, then … Read more Call Function By Button Click In Pygame

Unable To Install Pygame On Python Via Pip (windows 10)

Currently unable to install Pygame via pip: pip install pygame Getting this message: Concerned by… Read more Unable To Install Pygame On Python Via Pip (windows 10)

Printing User's Input In Pygame

I have nearly finished a game which I was was working on for a school project but now I am struggli… Read more Printing User's Input In Pygame

How To Install Pygame On Mac With Python 2.7 Installed?

I want to install pygame on Mac 10.6.8. I managed to install python 2.7.9 and to make it stable. I … Read more How To Install Pygame On Mac With Python 2.7 Installed?