Sorry, i still can not download it, the error says:
An error occurred while loading MEGA.
The file "lang/cn_9a98d7475fe91952b522aab874a6b73d3eb4545af8ac87bed735cb5abffe7a2f.json" could not be loaded.
Please try again later. We apologize for the inconvenience.
BrowserID: mozilla/5.0 (macintosh; intel mac os x 10_11_4) applewebkit/537.36 (khtml, like gecko) chrome/50.0.2661.102 safari/537.36
Out of interest, how do you normally handle cocos2d projects regarding source control? Do you also check in the ‘cocos2d’ folder containing the engine? I’d like to put this project into a github repo.
Sorry to keep bothering you with this post @nivrig, but if you have your libGDX main game loop .java code, it’d be fun to try out optimizing both toward equal performance and further improve the “rare” case rendering pipeline.
I agree, bunnymark is an edge case, but what I was trying to do was examine the performance of the “normal” way that each engine is used. For cocos this is using Sprite of course. Also, I thought SpriteBatchNode was fully deprecated not just for the normal case, so I didn’t even consider it.
yes, in this case just use Sprite without SpriteBatchNode. A “good” test case would be:
have around N sprites inside the viewport
have around M sprites outside the viewport
and add/remove P sprites every S seconds
some of the sprites should be batchable (share the same GL context: texture id, blend mode, shader)
N = ~200
M = ~1000
P = 50
S = 0.3
well, it is fully deprecated in a way. We kept it for backward compatibility… (and for super rare cases).
IIRC, libgdx was faster than cocos2d-x v2. But cocos2d-x v3 is faster than libgdx… Hey, but if it is not, I’ll happily work on improving the performance
I made a new C++ project too, but when I set, for example, CC_USE_PHYSICS=0 in the Xcode preprocessor settings I get the following crash when running on device. This happens in release and debug mode, using v3.11.
I can’t understand how is that. Libgdx looks like better than cocos2d-x about performance. But I think, cocos2d-x has more advantages for that. Language benchmarks shows us that, usually c++ language is advantageous then other languages (except C and low some low level languages ) And cocos2d-x structure looks like very regular. Am I wrong?