I made collisions from scratch and it was surprisingly easy
You can copy the code for collisions to use in your own game