ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator add ccbCommands to myNamespace
person icon
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");


person icon
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:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |