Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
CopperCube JavaScript - Code-Snippets

agbdev
Registered User
Quote
2021-01-08 13:42:05

I created the whole thing because it annoyed me that there is unfortunately no such thing for Visual Studio Code.
I like to write my scripts there and then just insert them like a noob in the CopperCube script editor.
But maybe there are other people who would like to have something like that, so I just did it.

If you use it you can see all commands from Event, Drawing, Scene Node Handling and Collision by typing ccb, ​​there are already a few from Various but I'll add more in further updates.

https://drive.google.com/file/d/...


guest
Guest
Quote
2021-02-02 00:51:10

this program can do that for you:

https://www.lancaster.ac.uk/~steveb/cpaap/pfe/pfefiles.htm


i like antiques


just_in_case
Moderator
Quote
2021-02-03 01:52:40

Or you can simply use notepad++ and instead of writing your scripts inside the coppercube editor you can write it outside in a file and any changes you made to the file will appear in realtime in the coppercube editor or published exe.

Actually any editor outside the coppercube will do fine but i use notepad++ because of its syntax highlighting and its easy to understand. You can also use Microsoft's VSCode or any editor of your choice.

Thanks for sharing those Code snippets.


Create reply:


Posted by: (you are not logged in)


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