As i can see, CCPoint and CCRect now derived from CCObject. Just for PointArray? Hmm.
Such often used structs must be POD. Guys, instead adding features you MUST sometimes stop and review your code. Performance one of most important features for game library.
What is wrong with changing them to CCObjects? I was planning on switching to the new version of cocos2dx, but if there are big problems with it then I won’t, so I am pretty interested in what the problem is.
totally agree…
and now if I switch to new version, I have to modify thoundsands lines of my code (in order to FIX the old version bug
I think the author just let the user do this on their own if they REALLY need it, not hardcoded these in engine.
If author really need to change something in future version, you guys can just discuss on forum about why the engine need to be change,
(this is what forum do, discuss things!)
but not change this because someone need this.
What is wrong with changing them to CCObjects? I was planning on switching to the new version of cocos2dx, but if there are big problems with it then I won’t, so I am pretty interested in what the problem is.
Nothing is “wrong”, but this is not so good as it can be. So I started this thread to make cocos2dx better.