Tagged Questions
The pygame tag has no wiki summary.
1
vote
1answer
54 views
Pygame circular cropping/masks
I have been going through the documentation and the Pygame functions and classes today, but couldn't find a reasonable way to either create a circular crop of an image or how to use a mask to perform ...
1
vote
1answer
185 views
Pygame water ripple effect
I have Googled for it but there are no ready scripts - as opposed to the same effect on Flash. I have checked the algorithm on The Water Effect Explained and also tested an implementation of the ...
9
votes
3answers
433 views
What is a good algorithm for fractal-based procedural city layout?
Background
I run a minecraft server where I'm going to design a starter city of fairly large scale. I have a series of things, like rule signs and mob cages, I would like to put in buildings there. ...
6
votes
2answers
214 views
Increase blitting speed?
I'm working on a 2d sidescroller in PyGame. For each map we use one texture (this is the actual size of the texture):
Then we load the image with this code:
sprite = ...
0
votes
0answers
173 views
is Python enough to build big game? [closed]
Possible Duplicate:
Famous games written in Python
i will start build big game , and i have python as the available option for me at the current time , but i don't know if it capable and ...
0
votes
1answer
105 views
python for game development [closed]
Possible Duplicate:
Famous games written in Python
Is python any good for game development? Can I have some examples of great indie python games.
So I can have an idea what it's capable ...
3
votes
4answers
179 views
What can be a game-play element in a game with Shakespeare's plays as the main theme?
I was thinking of learning about making games, so I thought of an idea about making a game on a play, since the content is already there. I actually found well parsed XMLs of Shakespeare's plays. I ...
1
vote
2answers
168 views
Basic developing in python?
I have basic experience in Python, and I want to know which is the best library to use in development. I was looking originally at Pygame but found it a bit lacking in tutorials. Are there any good ...
1
vote
2answers
165 views
Secondary monitor freezes game window
I was bored and dragging my game window around the screen and noticed something interesting.
When I drag my game window over to my secondary monitor, the screen updating just completely freezes.
Is ...
4
votes
1answer
350 views
Issue with implemented Minesweeper algorithm
So I'm attempting to learn Python by way of Minesweeper. I've got experience with SDL, so I figured playing around with PyGame sounded like a fun way to learn the syntax of the language.
Anywho, I'm ...
3
votes
1answer
133 views
Separating Sprites from Models with PyGame
So I'm trying to code a game using the Model-View-Controller pattern, and therefore have a need to separate the models for my game objects with their sprite representations. The problem that I'm ...
0
votes
1answer
106 views
Batch blit vs separate blit
A tutorial that I have followed had me collect and blit all of my sprites with the following lines:
allsprites = pygame.sprite.RenderPlain((l_sprites))
allsprites.draw()
At the moment, this is fine ...
3
votes
3answers
215 views
Problem in blitting a clean, crisp sprite
I am having a bit of a tooling problem...and I am unsure of how to solve it.
I am currently using PyGame to try and write a simple Minesweeper clone, except my sprites that I made are hexagon based ...
1
vote
2answers
304 views
Pygame How To Use Collision?
Can someone tell me how to implement collision in Pygame?
For example I have a sprite called A and another one called B.
How do I detect if they collide in Pygame?
8
votes
2answers
291 views
Common pattern to scale “real units” to pixels?
This is a follow-up question to this other one.
I would like to know if there is a common/typical/best pattern to scale my representation of the world (currently 160Kmx160Km) to fit it to the drawing ...