Skip to main content

All Questions

Tagged with
15 votes
3 answers
836 views

Setting the scene for a role-playing game

I made some games in Pygame, but I am still new to making games. I made this RPG game, and this code is just a part of the game. The game executes different Pygame files for different levels of the ...
Michael's user avatar
  • 159
5 votes
3 answers
2k views

Slow foreach loop to check for intersect

I'm trying to make a loop where it returns whether or not a rectangle collides and then to which coords the rectangle should move to. I'm calling my function like this: ...
Stijn Bernards's user avatar
4 votes
0 answers
231 views

Collision system in Pong-like game

I am writing a game like Pong. Therefore I am using an entity system approach, so I use a Component-based design. The hardest part until now was to write the collision system. As I just began with ...
M0rgenstern's user avatar