Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
So, gonna go in an learn Java Script to program my own variables, but from some of you who already know it just how hard is it. I some C and yes I know my question is very dependent on the person or how quickly you pick up something. But I can do visual basic decently and C a bit but C++ is a no go. Just want to know what I'm getting myself into. |
||||
|
Comparing to other languages out there javascript is fairly easy to learn and CopperCube javascript API is self explanatory in most of the cases. it uses a prefix "ccb" and then what you wanted to do. for example if you wants to change property of an object it is "SetSceneNodeProperty" so its easy to remember as well, the final command becomes along with prefix "ccbSetSceneNodeProperty" and in that property you need to put 3 values. one is the scenenode on which you are working( whose property you want to change) second is the name of the property you want to change, for example "Position", and third one is the new value for that property, for example "(0,10,0)". so the API is really easy. You can start by learning basics of javascript like variables,if and else functions, javascript operators and all. An easy and good source of learning Javascript is https://www.W3schools.com All the best |
|