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. Using if condition to check if the text input is correct. Please help.

Using if condition to check if the text input is correct. Please help.

Scheduled Pinned Locked Moved Help and Support
20 Posts 5 Posters 2.5k Views 3 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.
  • Aidan_FireA Aidan_Fire

    @Aries29 Yes I am quite sure it’s possible to make a 4 pics 1 word game in hyperPad. I’m not sure how you’re doing it or what’s going wrong though. Any chance you could send a project link, or show a screenshot of the logic that’s not working?

    Aries29A Offline
    Aries29A Offline
    Aries29
    wrote on last edited by
    #11

    @Aidan-Oxley Can you show me the code blocks to use to creat a simple 4 pics one word game here?p in hyperpad? I can't figure out how to make the letters I tap appear in the exact same order on the blank underneath the 4 picture clues. Is it through combine text? Can you please show me a sample code sequence for combine text so i can see how it can combine sentences to describe say a picture of a situation presented through a series of clues of pictures? I rally want to know how it can be used in a word puzzle game like 4 pics one word or typoman in ps4.

    Aidan_FireA 1 Reply Last reply
    0
    • Aries29A Aries29

      @Aidan-Oxley Can you show me the code blocks to use to creat a simple 4 pics one word game here?p in hyperpad? I can't figure out how to make the letters I tap appear in the exact same order on the blank underneath the 4 picture clues. Is it through combine text? Can you please show me a sample code sequence for combine text so i can see how it can combine sentences to describe say a picture of a situation presented through a series of clues of pictures? I rally want to know how it can be used in a word puzzle game like 4 pics one word or typoman in ps4.

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

      @Aries29 I’m not 100% sure how 4 pics 1 word works since I’ve never played it, so all I know is you type a word and if it’s right you win (go on to next level or something) and if it’s wrong you lose (and you have to guess again?). For having letters fill in some blanks, that’ll take some more work, and it would depend on how you have your game set up. How I set it up would very likely be different to how you have it set up. Anyway here’s a picture that hopefully helps a bit:
      0_1517049977590_7466F219-F55A-42C7-B464-604707BE99F2.png
      Also, to upload a picture, while making a comment you should be able to find an upload symbol (cloud with up arrow in it) above the area you type your comment.

      Aries29A 1 Reply Last reply
      0
      • Aidan_FireA Aidan_Fire

        @Aries29 I’m not 100% sure how 4 pics 1 word works since I’ve never played it, so all I know is you type a word and if it’s right you win (go on to next level or something) and if it’s wrong you lose (and you have to guess again?). For having letters fill in some blanks, that’ll take some more work, and it would depend on how you have your game set up. How I set it up would very likely be different to how you have it set up. Anyway here’s a picture that hopefully helps a bit:
        0_1517049977590_7466F219-F55A-42C7-B464-604707BE99F2.png
        Also, to upload a picture, while making a comment you should be able to find an upload symbol (cloud with up arrow in it) above the area you type your comment.

        Aries29A Offline
        Aries29A Offline
        Aries29
        wrote on last edited by Aries29
        #13

        @Aidan-Oxley Thanks for the reply once again sir! Since you have not played 4 pics one word, then let me tell you that what happens there is that instead of typing yor answer using a keyboard, you "tap" your answer from a row of random letters generated in the game. And your tapped letters appear in the exact order you tapped them inside the blank which in turn checks your response as soon as you are done. See also my sample picture below.
        0_1517051626765_0B5359A1-29E2-459E-9AB2-E258AD14636B.jpeg
        (As you can see, the letters are alredy given. The player would simply tap the letters and they will appear on the individual blanks on top in the order in which the player tapped them. Notice that the player has already tapped the letters D A and T. Once he taps E, he will get a feedback that he is correct but once he taps something else, the letters in the blanks will blink or momentarily change their colors as a feedback that the player is wrong.)

        Aidan_FireA 1 Reply Last reply
        0
        • D Offline
          D Offline
          Deeeds
          wrote on last edited by
          #14

          @Aries29 type this into google:

          4 pics one word template

          1 Reply Last reply
          0
          • Aries29A Aries29

            @Aidan-Oxley Thanks for the reply once again sir! Since you have not played 4 pics one word, then let me tell you that what happens there is that instead of typing yor answer using a keyboard, you "tap" your answer from a row of random letters generated in the game. And your tapped letters appear in the exact order you tapped them inside the blank which in turn checks your response as soon as you are done. See also my sample picture below.
            0_1517051626765_0B5359A1-29E2-459E-9AB2-E258AD14636B.jpeg
            (As you can see, the letters are alredy given. The player would simply tap the letters and they will appear on the individual blanks on top in the order in which the player tapped them. Notice that the player has already tapped the letters D A and T. Once he taps E, he will get a feedback that he is correct but once he taps something else, the letters in the blanks will blink or momentarily change their colors as a feedback that the player is wrong.)

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

            @Aries29 Ahhh I remember now. I should’ve just researched that myself. I think I could make this work in a project (but would be too hard to explain by screenshots and text). I could try make a small sample project and give you a link to it. How do you have your project set up? Each subject or word to guess is a new scene, or they are all loaded in the same scene (harder but more efficient)?

            Aries29A 1 Reply Last reply
            0
            • Aidan_FireA Aidan_Fire

              @Aries29 Ahhh I remember now. I should’ve just researched that myself. I think I could make this work in a project (but would be too hard to explain by screenshots and text). I could try make a small sample project and give you a link to it. How do you have your project set up? Each subject or word to guess is a new scene, or they are all loaded in the same scene (harder but more efficient)?

              Aries29A Offline
              Aries29A Offline
              Aries29
              wrote on last edited by
              #16

              @Aidan-Oxley I'll let the players encounter two or three word puzzles on a scene (level). I did search the phrase you gave me and got some assets for four pics one word.😊

              Jack de WildeJ 1 Reply Last reply
              0
              • Aries29A Aries29

                @Aidan-Oxley I'll let the players encounter two or three word puzzles on a scene (level). I did search the phrase you gave me and got some assets for four pics one word.😊

                Jack de WildeJ Offline
                Jack de WildeJ Offline
                Jack de Wilde
                wrote on last edited by Jack8680
                #17

                @Aries29 Took me a bit longer than planned, but here's an example project with the typing like that: http://bit.ly/2rLpnNe (paste into safari to download)

                The logic is a bit complicated since it's calculating the position of the answer squares based in the length of the answer (to centre it) and it's calculating the position of the usable letters from an array. I can try to explain it if you want.

                Aries29A 1 Reply Last reply
                1
                • Jack de WildeJ Jack de Wilde

                  @Aries29 Took me a bit longer than planned, but here's an example project with the typing like that: http://bit.ly/2rLpnNe (paste into safari to download)

                  The logic is a bit complicated since it's calculating the position of the answer squares based in the length of the answer (to centre it) and it's calculating the position of the usable letters from an array. I can try to explain it if you want.

                  Aries29A Offline
                  Aries29A Offline
                  Aries29
                  wrote on last edited by
                  #18

                  @Jack8680 Oh my God...this case is closed when I saw that sample Jack. You are amazing. So much that...I would like to be your apprentice right now.

                  Aidan_FireA 1 Reply Last reply
                  0
                  • Aries29A Aries29

                    @Jack8680 Oh my God...this case is closed when I saw that sample Jack. You are amazing. So much that...I would like to be your apprentice right now.

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

                    @Aries29 Ok, here’s my basic sample project for 4 pics 1 word type game: http://bit.ly/2DIGLUm
                    You’ll find logic in each of the hidden letters (above their line spaces), which just decides whether that letter space is next (you pick your letter, the letters fill in from left to right above their spaces). Logic in each of the shown letters simply makes them broadcast their letter to the letter spaces and then hide themselves (because the letter has been picked, it cannot be picked again). Logic in the ā€œGuessā€ button when preset determines whether you have entered the correct word or not, then resets everything. Hope this helps :)

                    Aries29A 1 Reply Last reply
                    0
                    • Aidan_FireA Aidan_Fire

                      @Aries29 Ok, here’s my basic sample project for 4 pics 1 word type game: http://bit.ly/2DIGLUm
                      You’ll find logic in each of the hidden letters (above their line spaces), which just decides whether that letter space is next (you pick your letter, the letters fill in from left to right above their spaces). Logic in each of the shown letters simply makes them broadcast their letter to the letter spaces and then hide themselves (because the letter has been picked, it cannot be picked again). Logic in the ā€œGuessā€ button when preset determines whether you have entered the correct word or not, then resets everything. Hope this helps :)

                      Aries29A Offline
                      Aries29A Offline
                      Aries29
                      wrote on last edited by
                      #20

                      @Aidan-Oxley Thank you so much too sir!!! God this forum is so wonderful with talented programmers like you and Sir Jack!šŸ˜„

                      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