Analog Clock

RPRP Member Posts: 1,990
edited February 2012 in Working with GS (Mac)
Has there been an Analog clock built in GS before?

I have an project that I was building in Xcode for iOS and I thought I might import the assets into GS since adding additional animations would be ideal here, but I'm thinking I'd hit limitations. Would I be able to get the app to fetch date and time data automatically? (I was able to do this in Xcode). I know that for GS the app would have run as a desktop clock, meaning the app would have to open for any alarm features etc. I just want to be sure that once the user closes the app, the date and time is current when they open it again.

Any ideas, experience or existing GS analog out there?

Comments

  • morphinegamingmachinemorphinegamingmachine Member, PRO Posts: 449
    you can indeed access the device time, hours (24 cycle) and min, and sec, and milisec

    on the start up of game salad open the digital clock template and look at the rules it uses. you will just have to contrain your actor to a certain angle that relates to the time
  • RPRP Member Posts: 1,990
    edited February 2012
    @morphinegamingmachine
    Sweet. Yeah, it should not be to much different from what I did in Xcode then. For the clock hands I had to convert the degrees to radians. It should be a heck of lot easier to set up in GS though and certainly much more friendly for implementing animations and any user interactivity.
Sign In or Register to comment.