≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Responsive html in CC
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b]csp-games[/b] wrote: Probably too late, but as I just stumbled upon this thread, today I would implement it this way, or try to: First of all, I use the copperlicht.js directly, I only use Coppercube to assemble me a package of mesh and sound assets into a ccbz file, that I then can access in my main script. There is an option to do certain things once right after loading is complete: [code] var engine = new CL3D.CopperLicht('3darea', 1, 30, 1, "loading", "noWebGL", 0, 1); engine.load('copperlichtdata/csp2coppercube.ccbz',1,0); // this is called when loading the 3d scene has finished engine.ingComplete = function() { var scene = engine.getScene(); if (!scene) return; // here's your code var mytree=ccbGetSceneNodeFromName("my_pinetree1"); var canw=document.getElementById('3darea').width; if(canw<700){ // use the ccb command to hide stuff here } // other initializations ... } [/code][/quote]
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