Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
CopperCube uses ECMAScript Fifth Edition which is severely outdated and one edition away from the fourth edition, which is abandoned. ES6 has a lot of good features, like Math.clamp for example. Later edition have some very useful array-based methods and even has some CofeeScript-like syntax sugar! I hope you do update CopperCube scripting interface to ES9 (the latest) so we can take advantage of these new features. Also, please give us greater control using the scripting interface. For once, I would love to control the mouse using the scripting interface and I would also like to control the debug console more as well (besides just a simple print() method). Also, you should give a window object to reference to (even in Windows/Mac target) to refer to so we can use setTimeout and other DOM related functions within the scripting interface. These are very important additions and will make scripting more enticing on CopperCube. I find the scripting interface VERY limited right now but I am dealing with it. So please take this into consideration, niko. |
||||
|
Niko, this is a serious issue and a serious thing that has to be added sometime. I really hope you make this your top priority. |
||||
|
The reason for this is that a lot of old browsers didn't support the newer JS versions, as well as the (now obsolelte) Flash target. But these restrictions are no longer valid, so yes, I've put integrating a newer ES version on the top of my TODO list. |
|