Here are shapes of 2 colors. Shapes of the same color do not overlap, but shapes of different colors do overlap.
Debug info:
FPS - Frames per Second;
CPS - Collisions per Second (sum of collisions for each shape);
CPF - Collisions per Frame (CPS / FPS).
Environment:
OS: Linux Mint 19.3
RAM: 8 GB
CPU: Intel Pentium Gold G5400
GPU: NVIDIA GeForce GTX 1050 Ti
Graphics engine: Pixel by faiface
0 Comments