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
4
Posts: 382
Reputation: 2,974

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 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
121
S
42
G
17
Posts: 2,219
Reputation: 19,800


Return to How do I....?

Who is online

Users browsing this forum: Jackriduk, Username05 and 29 guests