Well ive tested it untill about 50 collision boxes, I saw bearly any increase of CPU ms and even Ram usage my normal CPU ms is about 15.5 average or something like that. After adding the collision it was around about 16 on average.
I don’t have a base benchmark, but on my machine i have 340 average so it is not really that demanding.
The calculations for checking if something is inside of the bounding box is just AABB collision detection which is very simple and consists of just 4 conitions and that is it. I am also only calculating the pushout amount if the collision was actually detected and if the object itself is “Static”
I have found a few 2D games being made at the moment I randomly found personally in a random way but it’s not there at the front page yet, so I think you may be right :PP
One guy actually posted 1 Hour before my showing his very own system. So there actually are multiple options out there. But im not sure if he publically posted the scripts
Yeah very cool i did something similar for my game even thos its not a gui game… The real difficulty is when the character is travelling at very high speeds or collides at extreme acute/obtuse angles…