ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperCube > Feature requests and bug reports
Update CopperCube's scripting interface to ES9
Author Text

Registered User
2018-12-18 21:39:52

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.

Registered User
2019-01-13 04:06:17

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.

2019-01-14 14:40:22

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.

Create reply:

Posted by: (you are not logged in)

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




Forum Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.