Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
What is the JavaScript's equivalent of the action "Restart a Scene" and How to retrieve current scene name ?

bracer
Registered User
Quote
2019-09-16 23:02:32

What is the JavaScript's equivalent of the action "Restart a Scene" and How to retrieve current scene name ?


mutan_gaming
Registered User
Quote
2019-09-17 00:47:08

I don't know, sorry.
I can't also found it on the documentation.


bracer
Registered User
Quote
2019-09-17 04:05:25

Hey, atleast you tried to help, I just want you to know you are appreciated :D


chenhongye
Registered User
Quote
2019-09-19 14:36:16

Try to use var root = ccbGetRootSceneNode();
alert(root.scene.Name);


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

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