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

Rotation Of A Sprite On A Circle

There's a sprite moving on a circle centered around the screen center with radius = 30 pixels. … Read more Rotation Of A Sprite On A Circle

How To Import Pygame In Visual Studio Code?

I use visual studio code for coding (python) and now I have to write a program with pygame for my p… Read more How To Import Pygame In Visual Studio Code?

Pygame Write To Other Terminal?

I was wondering if it is possible to write the pygame code to a separate terminal so that you can s… Read more Pygame Write To Other Terminal?

Flags And Depth In Coding (pygame)

So I am starting to learn pygame and in this line: pygame.display.set_mode((640,300), 0, 32) I'… Read more Flags And Depth In Coding (pygame)

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

Why Do Group Lists In Pygame Have To Have "update" Functions, And Not Any Other?

I made a small particles application, but I was testing it and the function at the bottom has to be… Read more Why Do Group Lists In Pygame Have To Have "update" Functions, And Not Any Other?

Game Ai Works Powerfully On One Side And Becomes Dumb On The Other In Tic-tac-toe

I am trying to make a Tic-Tac-Toe game in Python using PyGame and the MiniMax algorithm. The AI pla… Read more Game Ai Works Powerfully On One Side And Becomes Dumb On The Other In Tic-tac-toe

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