What’s the best/recommended scripting language to use with Cocos; Typescript or Javascript?
What are the main differences? (I’m looking for the easiest/fastest to implement.) or does mixing them up have some benefit?
I noticed that with Javascript there are some discrepancies in tutorials; for example the following function declarations both can be used
eg:
onLoad () {},
//or
onLoad:function(){},
…and so sometimes it all seems like guesswork which one to use (different ways to write the same thing). Is typescript any more consistent?
Thanks
1 post - 1 participant