ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator getScene is not a function and ingComplete never gets executed
person icon
bracer
Registered User
Quote
2019-09-21 09:15:40

https://pastebin.com/6n1DZvCD

Have to use paste bin because forum says it is spam...

person icon
erik
Registered User
Quote
2019-09-22 14:22:29

I think it should be

CopperLicht_instance.getScene()

not engine.getScene(). But I'm not entirely sure.

person icon
bracer
Registered User
Quote
2019-09-23 03:33:54

That's exactly what I did in line 37, no joy. It doesn't work.

I did not delete anything inside:
CopperLicht_instance.ingComplete even though what's inside is nonsense is because ingComplete NEVER got executed.

The forum is remove On Loading Complete as a word and I have no idea why.

person icon
erik
Registered User
Quote
2019-09-23 07:42:23

Are you using the copperlicht.js from the copperlicht sdk? Maybe CopperCube overwrote it (it always does when you hit the "publish" button in the editor). A way to prevent this is to rename your "copperlicht.js" to for example "engine.js" and also adjust your script take on the top, and use a different file name for your .html, like "game.html" instead of "index.html"

person icon
bracer
Registered User
Quote
2019-09-24 08:47:01

That explains it ! THANK YOU ERIK !!!


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 |