Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > CopperCube Open discussion
How hard is Java Script

54newstar
Registered User
Quote
2021-04-02 04:06:32

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.


just_in_case
Moderator
Quote
2021-04-02 04:59:14

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


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internati?nal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact