hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Feature Request: Get Current Time

    Scheduled Pinned Locked Moved
    Comments & Feedback
    3
    4
    117
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Deeeds
      last edited by Deeeds

      For everything involving timing the activities of anything, creating lap timers, rewards based on speed of player performing a task, bonus calculations, etc etc...

      Probably also needs a way to handle the values it generates... as they might be weird....

      Help behaviours that store a lap other start time and then provide a duration report upon being told the lap or bonus round have been completed would be awesome.

      Countdown helper behaviours probably very useful for any kind of time limited gameplay session/section/scene/bout or whatever.

      This probably belongs in UI section... as that's where it will be used the most.

      CCProgressTimer has a bunch of wonderful things to make this look cool, too.

      And here is an amazing article about using polygons to do masking of a circular shape: https://web.archive.org/web/20161022024729/http://fancyratstudios.com/2010/02/programming/progresstimer-for-cocos2d/

      Jack8680J Aidan_FireA 2 Replies Last reply Reply Quote 0
      • Jack8680J
        Jack8680 @Deeeds
        last edited by

        @Deeeds there's a get time behaviour, which can be used in seconds to do maths so you can calculate time elapsed. For a countdown you could just use a timer that subtracts from a variable, right? A behaviour could be useful, but I think we'd need a better behaviour finder first; there's a lot of behaviours right now

        D 1 Reply Last reply Reply Quote 0
        • D
          Deeeds @Jack8680
          last edited by

          @Jack8680 So sorry!

          I found it... under LOGIC.

          Logically.

          I never thought to look in there for Get Time. Looked just about everywhere else...

          Agreed, a behaviour finder is a must have. As would a broadcast sender, variable and in project behaviour finders. My project is starting to get to that size where I'm forgetting where things are.

          Easy enough to do, in terms of UI, too... I think.

          Pull down on the Behaviour list to open the search of hyperPad behaviours.

          Pull down on the Property list to open a search within the project for behaviours, variables, broadcasters, receivers, etc.

          1 Reply Last reply Reply Quote 0
          • Aidan_FireA
            Aidan_Fire @Deeeds
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post