Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Learn JavaScript for CopperCube

waterdrinkingfox
Guest
Quote
2023-02-20 02:07:10

Greetings! Where can I start to learn JavaScript for CopperCube and game making in general? Thanks!


Guest
Guest
Quote
2023-02-20 02:46:18

First thing you should do is read the CC documentation found here:

https://www.ambiera.com/coppercu...

For JS you can use this site:

https://www.w3schools.com/jsref/...

Note: CC uses an older version of JS so some of the functionality in the newer versions doesn't work.

There's videos on YouTube like "Learn JS in One Hour!" or whatnot. Taking the time to watch one of those can help speed up your learning.

Pay special attention to this page from CC's documentation:

https://www.ambiera.com/coppercu...

These functions are pretty much the lifeblood of coding projects in CC.

That should get you started.


waterdrinkingfox
Guest
Quote
2023-02-21 05:14:13

Thanks!!


Guest
Guest
Quote
2023-02-22 05:31:46

@waterdrinkingfox

You're welcome! I did just notice I posted the wrong link for the w3schools site. I meant to show you the JS tutorial here:

https://www.w3schools.com/js/def...


Guest
Guest
Quote
2023-02-23 17:13:37

See also the Mozilla Developer Network (MDN)...

https://developer.mozilla.org/en-US/docs/Web/JavaScript


andgameplay
Registered User
Quote
2023-03-15 15:07:29

A good site to learn javascript:

https://pt.khanacademy.org/compu...


luposian
Registered User
Quote
2023-05-13 21:00:32

I'm assuming Spidermonkey is the javascript engine used in CopperCube. But what version/revision is it? And what keeps it from being revised to the latest version?


eoh
Guest
Quote
2023-05-15 15:02:12

good advice's guest!


Guest
Guest
Quote
2023-06-12 16:36:02

Found it amusing that while the devs claim that javascript is supported, in actual practice, you will discover that many javascript keywords are not supported, which obviously becomes a major roadblock in our game development . As others have pointed out, coppercube runs on an older version of javascript, if so, how old ? The current ES6 was revised in 2015, while ES5 came out in 2009 ? Or is the javascript some kind of special blend like SpiderMonkey as stated by someone on another post ?

The level of transparency and disclosure is really lacking here. What is the point of us after having learnt a coding language but find that our code cannot work 100% in the 1st place ? Game development itself is already a PITA and a hair pulling struggle in the 1st place, the last thing we need is a incomplete half functioning feature on the platform.

So should we still consider buying their so-called 37 euros for professional edition & 126 euros for Studio edition ? When the free edition is not even fully functioning in the beginning ?


just_in_case
Moderator
Quote
2023-06-12 17:16:18

@Guest, Coppercube uses Spidermonkey version 1.8, it's been known to a lot of people, if you have any doubts you can always send text to office@ambiera.com or use the contact button to ask the developer himself.
Since Coppercube has gone free, forum is filled with loads of repeative questions so it is not possible for the developer to answer all of those repetative questions.

Most of the experienced users try to avoid answering repeatative questions lately.


Guest
Guest
Quote
2023-06-12 19:09:46

@Guest
The website I posted tells you which features are available for which versions. Current version is ES2022 not ES6.

Here's ES5:
https://www.w3schools.com/Js/js_...

@eoh
Thanks!


okeoke
Registered User
Quote
2023-06-12 20:48:54

Omg, I just googled and discovered that it actually supports "let" statement in version 1.8. So cool. And also reduce and reduceRight.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internationa?" (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