≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Problem loading Copperlicht engine
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b]elmario[/b] wrote: Hi, I'm trying to load a scene through the following method [code] var Client = function(params) { if(typeof io === 'undefined') { alert('World server is down'); return; } if(!window.WebGLRenderingContext) { alert('Your device does not support WebGL'); return; } this._network = io.connect( 'http://' + params.serverIp + ':' + params.serverPort ); mfe$('client').attr('height', mfe$(window).height()); mfe$('client').attr('width', mfe$(window).width()); var engine = new CL3D.CopperLicht('client'); engine.load('/assets/client/scenes/SandwellDistrict/ME.ccbjs'); console.log(engine); }; [/code] however even when I use the latest SDK version of Copperlicht, I receive an undefined error for the engine.load method, and when I log the variable, I only see obfuscated functions like so: http://i.gyazo.com/ea7b2bfc0c39ddc6e3016269778794b6.png Even when I use startCopperlichtFromScene method, and assign this to engine, I get the same error. What do I need to do so I can use the Copperlicht API?[/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