Re: Will CC Ever Run Better on "Hated" Computers?
I have profiled the CC code, thank you very much
A few relevant points:
1) The unique, bitmap-based (vs vector/polygon-based) physics engine CC is built on is utterly dependent on, and inextricably linked to, the drawing functions of said bitmaps.. there's a lot of checking against the actual pixels in those sprites and in the terrain. So, optimizing the physics means optimizing the use of the graphics lib.
2) The physics engine is one of the first things I ever wrote as a programmer, while learning C++ in high school
3) .. as a result, a lot of the implementations are naive as ♥♥♥♥, and left in a first-pass state.
4) To my credit, there's not a lot of premature optimizations in there
I got things running and moved on to the next thing that needed to work.
5) There is no doubt a lot of room for improvement in how the graphics library (allegro) is used, and other areas. Echinus clearly has much deeper domain knowledge about it than I do, so I am happy to let him take a crack at it himself if he's interested?
Shaping up to be a good build #30