Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. how to calculate this?

how to calculate this?

Scheduled Pinned Locked Moved Help and Support
7 Posts 3 Posters 754 Views 1 Watching
  • 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.
  • SplitMindGamingS Offline
    SplitMindGamingS Offline
    SplitMindGaming
    wrote on last edited by
    #1

    Im trying to set up an achievement system but I have no idea where to begin doing the math for this. This is how i wanted it setup. The score basically goes to infinity. But for each time the score hits every 100. An event happens. How would you set that logic up?

    Aidan_FireA 2 Replies Last reply
    0
    • SplitMindGamingS SplitMindGaming

      Im trying to set up an achievement system but I have no idea where to begin doing the math for this. This is how i wanted it setup. The score basically goes to infinity. But for each time the score hits every 100. An event happens. How would you set that logic up?

      Aidan_FireA Offline
      Aidan_FireA Offline
      Aidan_Fire
      wrote on last edited by
      #2

      @SplitMindGaming Does the score go up by 1 only, or can it go up by 2 and skip over numbers? It would be different to set up if say it can go up by 2 sometimes in one step and for example go from 99 to 101 which completely skips the exact 100.

      1 Reply Last reply
      0
      • SplitMindGamingS SplitMindGaming

        Im trying to set up an achievement system but I have no idea where to begin doing the math for this. This is how i wanted it setup. The score basically goes to infinity. But for each time the score hits every 100. An event happens. How would you set that logic up?

        Aidan_FireA Offline
        Aidan_FireA Offline
        Aidan_Fire
        wrote on last edited by
        #3

        @SplitMindGaming Doesn't matter any more I made one that can work with anything, only limitation is it probably gets weird if your score ever goes up by more than 100 at a time, but I imagine that's not what you're doing.

        Link: https://go.aws/3aq0U1J

        Main logic in the red score label. Other logic is just to test how well it works. Change the Increment box container value and it will trigger with different values other than 100.

        SplitMindGamingS 1 Reply Last reply
        1
        • Aidan_FireA Aidan_Fire

          @SplitMindGaming Doesn't matter any more I made one that can work with anything, only limitation is it probably gets weird if your score ever goes up by more than 100 at a time, but I imagine that's not what you're doing.

          Link: https://go.aws/3aq0U1J

          Main logic in the red score label. Other logic is just to test how well it works. Change the Increment box container value and it will trigger with different values other than 100.

          SplitMindGamingS Offline
          SplitMindGamingS Offline
          SplitMindGaming
          wrote on last edited by
          #4

          @Aidan-Oxley man that is perfect. Your a genius i swear. I also just downloaded your tutorial that you made on spawning a healthbar on spawned objects. It was exactly what i needed as well. So thanks for that.

          Aidan_FireA 1 Reply Last reply
          0
          • RobinsonXR Offline
            RobinsonXR Offline
            RobinsonX
            wrote on last edited by
            #5

            Yep, Aidan's a genius! He was the first person to invent 3D in hyperPad. 😱

            1 Reply Last reply
            0
            • SplitMindGamingS SplitMindGaming

              @Aidan-Oxley man that is perfect. Your a genius i swear. I also just downloaded your tutorial that you made on spawning a healthbar on spawned objects. It was exactly what i needed as well. So thanks for that.

              Aidan_FireA Offline
              Aidan_FireA Offline
              Aidan_Fire
              wrote on last edited by
              #6

              @SplitMindGaming Wow, that still even works? It's so old, I completely forgot it was there. Thanks lol, I've been using hyperPad a really long time though. At least 7 years now.

              1 Reply Last reply
              0
              • Aidan_FireA Offline
                Aidan_FireA Offline
                Aidan_Fire
                wrote on last edited by
                #7

                This RobinsonX guy is the first to have made a nice working game with actual online multiplayer. Though I didn't get to play it cause my iPad Air 1 is sad and crashed every time.

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Search