Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
add ccbCommands to myNamespace

DouweDabbe
Guest
Quote
2021-06-21 11:46:21

hOw do I add Coppercube commands to my custom Namespace.

in Coppercube i do:
File, Save as = myGame.ccb
Publishing settings, Application Title = MyGame

my custom javascript file = myGame.js
I also called this a Application Library file
Here is 4 data types and functions that i need.

The coppercube and CopperLight docu is about Flash AS3
script or HTML


var cbbEngine = new CL3D.CopperLicht('3darea');

ccbEngine = myGame.extend(myGame, "ccbEngine");



DouweDabbe
Guest
Quote
2021-06-21 12:02:10



var cbbEngine = new CL3D.CopperLicht('3darea');

ccbEngine = myGame.extend(myGame, "ccbEngine");



the error is

Reference Error CL3D is not Defined.



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