A Extension for Cocos Creator
- Translation and speech errors to vietnamese (options)
- Rewrote cc.error for this feature.
- MAKE FOR FUN - DO NOT USE IN RELEASE PRODUCTIONS
- cd ./error-speech
- npm install
- copy error-speech to [CocosCreator Project]/packages
- Open CocosCreator and test.
HelloWorld.js
....
// After scene loaded
ctor(){
try{
// throw new Error("Cảm ơn đã theo dõi")
// make a misstake.
// this.labelss.makeLoop = "hello"
}catch(err){
cc.error(err)
}
},
....
- Cocos Creator 2.4.2
- Node 12.18.3