How do I make an in-game clock?

Get help using Construct 2

Post » Mon Jun 30, 2014 2:16 pm

I have looked around in the manual, tutorials and forums but haven't found anything on this. One of the features I liked about Diablo 3 was the ability to display a clock with the actual time onscreen. Does anyone know if this is possible in C2?
Image
B
20
S
5
Posts: 382
Reputation: 3,104

Post » Mon Jun 30, 2014 2:22 pm

The Browser plugin has the ability to run Javascript: https://www.scirra.com/manual/110/browser

Try storing the results of this Javascript: "new Date()" to a text variable and see if that gives the info you're looking for :)
Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
145
S
50
G
20
Posts: 2,284
Reputation: 23,047


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests