All Questions
Tagged with software-engineering python
7 questions
7
votes
3
answers
2k
views
How do you determine what order to process chained events/interactions?
I'm trying to write a top-down tactics RPG game in python, and run into the first major decision I can't make with my limited knowledge of RPG fundamentals.
In our game you create a team of characters ...
0
votes
1
answer
473
views
Animating from json file in pygame?
I have got a json file and I am trying to load the single sprites from that file
but I gives this error after a few loops and also the animation is not smooth(gets stuck)
error:
...
1
vote
0
answers
381
views
Avoiding Global Variables in Event Driven Programming
First off is "procedural event driven programming" a thing? My question is about global variables in the context of an event driven program that doesn't use OOP...
I have written a simple Snake game ...
0
votes
1
answer
2k
views
How to rotate a surface in pygame, without changing its shape
I'm writing a class in pygame to create a sprite object, and I'd like to be able to rotate it. It works fine with an image, and rotates without issue. But when rotating a surface with a plain colour, ...
1
vote
1
answer
1k
views
How do I update individual sprites within a spritegroup in pygame?
I have a for loop that takes values from a text file, and then creates and adds a bunch of sprites to a group platformlist_list. The for loop will continue until every line of the text file is read.
<...
1
vote
1
answer
3k
views
Implementing powerups for my Breakout clone
I'm making a simple Breakout clone in Python that will have very many powerups/powerdowns (so far I came up with 26). Some will affect the paddle (paddle missile, two paddles, short paddle, etc.), ...
2
votes
2
answers
923
views
Help making a visual transition with pygame and NumPy
Perhaps this could be better answered on Stack Overflow, but I thought it would be worth posting here. Right now I'm trying to make visual transitions with pygame's ...