I'm working on Linux actually, but I use Mac too.
I'm trying to add multi language support to my game, and I'm going to use different XML with tags.
When I use ccLanguageType _myLanguage = CCApplication::getCurrentLanguage()
get null, signal 11 exception.
I have used getCurrentLanguageJNI()
too but it did't work.
What's going on?
Try use CCApplication::sharedApplication().getCurrentLanguage();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With