Hello,
Do you know a easy way to upgrade a cocos2d-x project to a new version of cocos2d-x without creating a new project and make a copy/past of the files ?
In advance thanks,
Hello,
Do you know a easy way to upgrade a cocos2d-x project to a new version of cocos2d-x without creating a new project and make a copy/past of the files ?
In advance thanks,
Here what I did, not sure the best way but works for me.
I create git projects like…
Classes
Resources
When I need to upgrade I create a new project and delete folders and clone the git above. I guess maybe this is almost same as copy/paste file.
so much depends on version you upgrading from… if cocos structure changed better t ocreate new project inother cases just update cocos2d folder
Thanks for yours answers,
Yes, i try it but the compilation crash after from cocos2d-x-3.7 to cocos2d-x-3.8.
on which platform it’s crashing and what error, I would say that 3.7 and 3.8 is quite different versions
and some functionality not compatible from older one. Also 3.8 have some small bugs, but can be easily fixed.
I’ve been wanting to try RapidGame. It prebuilds cocos2d-x and symlinks in the lib so it can switch out versions of cocos with a simple command, and multiple games can share a prebuilt version of cocos.
that’s how I do it.
Just discovered that cocos gen-libs exists in version 3.8+ for making prebuilts. Instead of the engine existing in a folder/subproject in your game, it can just sit in the root cocos folder and be added to the search path.
Thanks for you answers,