Skip to main content

All Questions

Tagged with
16 votes
3 answers
7k views

2D Collision Detection in C++

I'm attempting to rewrite the classic snake game in c++. What I am inquiring about is my implementation for a 2D collision detection function. I am utilizing ...
Linny's user avatar
  • 10.3k
-2 votes
1 answer
6k views

C++ Erasing an object from vector of pointers

I am making this simple game in SFML and I have this vector of pointers std::vector<Brick*> bricks; which stores objects of class ...
user avatar
5 votes
2 answers
2k views

QuadTree for collision detection

I was recently working on a game using the SFML library, Later on, I experienced performance issues due to collision detection. I have been told to use a QuadTree ...
MORTAL's user avatar
  • 3,278
10 votes
2 answers
1k views

Design of physics with Collision Detection using SFML

I found out that in Visual Studio 2012, it is possible to create project of SFML easily with a template. I am not an experienced C# programmer. Hence I wanted to implement a physics component just for ...
Vemulo's user avatar
  • 223
9 votes
3 answers
2k views

Performance of collision detection in a grid

I have fairly simple collision checking and handling Python code which is currently bottlenecking my performance quite a bit. I haven't done too much coding in python and I'm quite sure there's ...
warbaque's user avatar
  • 261