Tagged Questions
2
votes
0answers
57 views
Detect collision in Blender
I am trying to write a Python function for Blender(2.66) game engine, that permits me to detect collision between two objects.
I tried to read the documentation, but it's very confusing, and I don't ...
3
votes
2answers
311 views
2D destructable terrain with collisions in MMO
Task
What I want is to create destructable terrain (like in Worms) and collisions with this terrain (with calculated normals) that will be fast enough to work on server machine.
Basically lets say ...
4
votes
5answers
443 views
Collision detection performance problem
Using python and pygame I've built a collision detection system according to the instructions in this YouTube tutorial.
This is updated 40 times per second and controls movement and collision ...
1
vote
1answer
117 views
Pygame - Change sprite collision Rect
I'm making a platformer in Pygame. One of the sprites I'm using is a flag, and I want to detect if the player collides with the flagpole (just like in Super Mario Bros). The problem is that the image ...
1
vote
1answer
190 views
How do I detect multiple sprite collisions when there are >10 sprites?
I making a small program to animate the astar algorithm. If you look at the image, there are lots of yellow cars moving around. Those can collide at any moment, could be just one or all of them could ...
3
votes
2answers
328 views
Collision library for bullet hell in Python
I am making a bullet hell game in Python and am looking for a suitable collision library, taking the following into consideration:
The library should do 2D polygon collision.
It should be very fast. ...
0
votes
2answers
392 views
Detecting if line crosses rectangle in python. Need speed boost
I am currently writing a top down man vs robot shooter. The game works now, but if I have a decent sized level it runs slowly when you are being chased by robots. While just roaming around it can go ...
4
votes
1answer
759 views
Are there any good engines for isometric collision detection and platforming?
I've decided to resurrect an old game idea I had years ago. I currently have zero experience with programming, but I'm going to begin studying either C#, Python or both in the near future.
The issue ...
2
votes
2answers
4k 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?