ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:    
Ambiera Forum > CopperCube > Announcements and Showcase
how to get current system time...
Author Text

Registered User
2017-07-16 21:27:34

Hello everyone
How to get system time like android or windows on 2d overlay...pleaz

Registered User
2017-07-17 06:53:39

I have posted it before on the forums ... but am too lazy to crawl it in the forums so am posting the ccb file again....

Here is the link to ccb file to get the current system time...and date..

and you can use it in your project to switch to the another scene after 10 days of launching of the app...

hope it helps you !!

2017-07-17 07:43:53

You could do something like this in JavaScript:

var node = ccbGetSceneNodeFromName("yourOverlay");
var date = new Date();
ccbSetSceneNodeProperty(node, "Text", date.toString());

Create reply:

Posted by: (you are not logged in)

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




Forum Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



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