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. Can you combine text to an Add To Score behavior

Can you combine text to an Add To Score behavior

Scheduled Pinned Locked Moved Help and Support
8 Posts 4 Posters 938 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

    So i realized im taking over the help and support section lol. Sorry about that guys. I promise you i do try everything in my power to figure out before asking for help. My next question, is it possible to add combine text with add to score. I know the simple answer is to make two labels and add the score right next to it. But i needed an instance for my score to say this.

    Coins found
    (Add to score behavior) of 7

    For example if you got 3 coins it will say

    Coins Found
    3 of 7

    I dont really need the top phrase to be within the combine text. I mean it will be nice. But id really like the “ of 7” in the same line as the add to score text. I added a screenshot of my attemp but it doesnt work this way.4DC9B57D-A41D-4BCE-B88C-DF104C8AB264.png

    MelideM KamdroidK Aidan_FireA 4 Replies Last reply
    0
    • SplitMindGamingS SplitMindGaming

      So i realized im taking over the help and support section lol. Sorry about that guys. I promise you i do try everything in my power to figure out before asking for help. My next question, is it possible to add combine text with add to score. I know the simple answer is to make two labels and add the score right next to it. But i needed an instance for my score to say this.

      Coins found
      (Add to score behavior) of 7

      For example if you got 3 coins it will say

      Coins Found
      3 of 7

      I dont really need the top phrase to be within the combine text. I mean it will be nice. But id really like the “ of 7” in the same line as the add to score text. I added a screenshot of my attemp but it doesnt work this way.4DC9B57D-A41D-4BCE-B88C-DF104C8AB264.png

      MelideM Offline
      MelideM Offline
      Melide
      wrote on last edited by
      #2

      @SplitMindGaming You aren't programming well apparently. I think it would work with only one Combine Text behavior. And also, you didn't put the data of the Score but you have put the Object ID, so it really won't work.

      You should use a behavior that will trigger everytime a coin is collected ( Collided is a great example of a behavior that does that ). You should get the score ( not the object of anything like that, the only score data ) and put it in the first input of combine label. Next you put the " OF 7 " and you set the Label.

      It normally will work. I know you will probably ask me for screens or anything like that but I really don't have the time right now, I have some work to do. But you should be fine with this.

      SplitMindGamingS 1 Reply Last reply
      0
      • SplitMindGamingS SplitMindGaming

        So i realized im taking over the help and support section lol. Sorry about that guys. I promise you i do try everything in my power to figure out before asking for help. My next question, is it possible to add combine text with add to score. I know the simple answer is to make two labels and add the score right next to it. But i needed an instance for my score to say this.

        Coins found
        (Add to score behavior) of 7

        For example if you got 3 coins it will say

        Coins Found
        3 of 7

        I dont really need the top phrase to be within the combine text. I mean it will be nice. But id really like the “ of 7” in the same line as the add to score text. I added a screenshot of my attemp but it doesnt work this way.4DC9B57D-A41D-4BCE-B88C-DF104C8AB264.png

        KamdroidK Offline
        KamdroidK Offline
        Kamdroid
        wrote on last edited by
        #3

        @SplitMindGaming Easy solution is having seperate labels, but putting them together to look like it's 1 label.

        Better solution, store coins amount in an attribute (or even a hidden label), and only use combine text for the display label that the user sees.

        1 Reply Last reply
        1
        • SplitMindGamingS SplitMindGaming

          So i realized im taking over the help and support section lol. Sorry about that guys. I promise you i do try everything in my power to figure out before asking for help. My next question, is it possible to add combine text with add to score. I know the simple answer is to make two labels and add the score right next to it. But i needed an instance for my score to say this.

          Coins found
          (Add to score behavior) of 7

          For example if you got 3 coins it will say

          Coins Found
          3 of 7

          I dont really need the top phrase to be within the combine text. I mean it will be nice. But id really like the “ of 7” in the same line as the add to score text. I added a screenshot of my attemp but it doesnt work this way.4DC9B57D-A41D-4BCE-B88C-DF104C8AB264.png

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

          @SplitMindGaming Your behaviours are out of order. Behaviours work left to right top to bottom, I can see your top combine text behaviour is using the output of the combine text underneath it, so it's trying to get the output of a behaviour that hasn't even been run yet.

          Can't speak for everyone, but you're not bothering me. This is what the forum is for. I'm pretty sure it was really inactive for a while until you came lol.

          1 Reply Last reply
          0
          • SplitMindGamingS SplitMindGaming

            So i realized im taking over the help and support section lol. Sorry about that guys. I promise you i do try everything in my power to figure out before asking for help. My next question, is it possible to add combine text with add to score. I know the simple answer is to make two labels and add the score right next to it. But i needed an instance for my score to say this.

            Coins found
            (Add to score behavior) of 7

            For example if you got 3 coins it will say

            Coins Found
            3 of 7

            I dont really need the top phrase to be within the combine text. I mean it will be nice. But id really like the “ of 7” in the same line as the add to score text. I added a screenshot of my attemp but it doesnt work this way.4DC9B57D-A41D-4BCE-B88C-DF104C8AB264.png

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

            @SplitMindGaming said in Can you combine text to an Add To Score behavior:

            But i needed an instance for my score to say this.

            Coins found
            (Add to score behavior) of 7

            For example if you got 3 coins it will say

            Coins Found
            3 of 7

            This isn't too hard. Have a look through this logic (and test it): https://go.aws/390Oex1

            SplitMindGamingS 1 Reply Last reply
            0
            • Aidan_FireA Aidan_Fire

              @SplitMindGaming said in Can you combine text to an Add To Score behavior:

              But i needed an instance for my score to say this.

              Coins found
              (Add to score behavior) of 7

              For example if you got 3 coins it will say

              Coins Found
              3 of 7

              This isn't too hard. Have a look through this logic (and test it): https://go.aws/390Oex1

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

              @Aidan-Oxley thank you so much for that. By the way to do you have a link to all the games you made. Would love to support and check them out.

              1 Reply Last reply
              0
              • MelideM Melide

                @SplitMindGaming You aren't programming well apparently. I think it would work with only one Combine Text behavior. And also, you didn't put the data of the Score but you have put the Object ID, so it really won't work.

                You should use a behavior that will trigger everytime a coin is collected ( Collided is a great example of a behavior that does that ). You should get the score ( not the object of anything like that, the only score data ) and put it in the first input of combine label. Next you put the " OF 7 " and you set the Label.

                It normally will work. I know you will probably ask me for screens or anything like that but I really don't have the time right now, I have some work to do. But you should be fine with this.

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

                @XxWhiteHearrxX how do you get just the scores data. When i drag out the add to score to the box it doesnt give me that option to choose the data. It just automatically gets the object id.

                Aidan_FireA 1 Reply Last reply
                0
                • SplitMindGamingS SplitMindGaming

                  @XxWhiteHearrxX how do you get just the scores data. When i drag out the add to score to the box it doesnt give me that option to choose the data. It just automatically gets the object id.

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

                  @SplitMindGaming There should be a way to view my projects from the Hub. I think I still have a featured project so you can hopefully access my homepage from there :)

                  The other users who have been replying to you on the forum have some pretty good stuff on the Hub too.

                  1 Reply Last reply
                  1

                  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