ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperLicht
getScene is not a function and ingComplete never gets executed
Author Text

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...


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.


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.


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"


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

That explains it ! THANK YOU ERIK !!!


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Forum 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


   





Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.