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. WIP and Showcase
  3. Logic & Behavior Examples

Logic & Behavior Examples

Scheduled Pinned Locked Moved WIP and Showcase
16 Posts 4 Posters 3.6k 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.
  • TutorialDoctorT Offline
    TutorialDoctorT Offline
    TutorialDoctor
    wrote on last edited by TutorialDoctor
    #1

    Before I can really start cranking out games I have decided to test out Hyperpad's behavior system (I'm good to go with creating graphics now). I've started to create several logic examples and am thinking that they would be useful to others.

    However, I don't want to put anything on the Hub that will just get down votes all over the place. The senses system I posted is doing a bit better now that people are starting to "get it."

    So far I have the following examples:

    • Inventory (uploaded to the hub)
    • Array Logic
    • The 5 senses (uploaded to the hub)

    I will add more as I think of them. Would this be useful to anyone?

    1 Reply Last reply
    0
    • TutorialDoctorT Offline
      TutorialDoctorT Offline
      TutorialDoctor
      wrote on last edited by
      #2

      1_1487872729911_IMG_1883.PNG 0_1487872729909_IMG_1882.PNG

      1 Reply Last reply
      0
      • TutorialDoctorT Offline
        TutorialDoctorT Offline
        TutorialDoctor
        wrote on last edited by
        #3

        0_1488036661135_IMG_1890.PNG

        Is that all of them (data types)?

        1 Reply Last reply
        0
        • TutorialDoctorT Offline
          TutorialDoctorT Offline
          TutorialDoctor
          wrote on last edited by
          #4

          Forgot about Classes. I will see if I can type up documentation of how one would use these behaviors/data types.0_1488040117499_IMG_1893.PNG

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Greg Smith
            wrote on last edited by
            #5

            Tutorial Doctor:

            By all means explain all of these things you have posted and as many more as you can.

            Without detailed instruction Hyperpad will remain a mystery and not develop into a widely used platform.

            You have my vote.

            Greg Smith

            1 Reply Last reply
            1
            • TutorialDoctorT Offline
              TutorialDoctorT Offline
              TutorialDoctor
              wrote on last edited by TutorialDoctor
              #6

              Dot Product:

              Perhaps a simple behavior for dot and cross product would be nice? Absolute value too? @Murtaza

              0_1488403863647_IMG_1902.PNG

              1 Reply Last reply
              0
              • TutorialDoctorT Offline
                TutorialDoctorT Offline
                TutorialDoctor
                wrote on last edited by
                #7

                Fuzzy Logic

                0_1488410381016_IMG_1906.PNG

                1 Reply Last reply
                0
                • TutorialDoctorT Offline
                  TutorialDoctorT Offline
                  TutorialDoctor
                  wrote on last edited by
                  #8

                  Point and Click

                  0_1492613341729_IMG_2305.PNG

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

                    Dot and cross product are multiplying vectors, hyperPad gives no vectors, just numbers you can do maths with (x + y or i + j means nothing to hyperPad). It would make more sense to do dot and cross products manually. Absolute value would be nice, this way I don't have to lose some performance using square root then square, or if its negative then multiply by negative one and store it in a box container etc.

                    TutorialDoctorT 1 Reply Last reply
                    0
                    • Aidan_FireA Aidan_Fire

                      Dot and cross product are multiplying vectors, hyperPad gives no vectors, just numbers you can do maths with (x + y or i + j means nothing to hyperPad). It would make more sense to do dot and cross products manually. Absolute value would be nice, this way I don't have to lose some performance using square root then square, or if its negative then multiply by negative one and store it in a box container etc.

                      TutorialDoctorT Offline
                      TutorialDoctorT Offline
                      TutorialDoctor
                      wrote on last edited by TutorialDoctor
                      #10

                      @Aidan-Oxley This made we wonder if I could add array's in hyperpad.... NOPE! It crashes. I could use Modify array to do some stuff though (haven't used this yet).

                      1 Reply Last reply
                      0
                      • Michael KhalfinG Offline
                        Michael KhalfinG Offline
                        Michael Khalfin
                        wrote on last edited by
                        #11

                        @TutorialDoctor You can add arrays into Hyperpad. I have added arrays and dictionaries many, many, many times, and I have used arrays and dictionaries for many, many, many things.

                        You can also make arrays in 2d, 3d, 4d, etc. You can do the same with dictionaries, and you can put arrays and dictionaries inside of each other. I have tried it all, and it is fully operational.

                        TutorialDoctorT 1 Reply Last reply
                        0
                        • Michael KhalfinG Michael Khalfin

                          @TutorialDoctor You can add arrays into Hyperpad. I have added arrays and dictionaries many, many, many times, and I have used arrays and dictionaries for many, many, many things.

                          You can also make arrays in 2d, 3d, 4d, etc. You can do the same with dictionaries, and you can put arrays and dictionaries inside of each other. I have tried it all, and it is fully operational.

                          TutorialDoctorT Offline
                          TutorialDoctorT Offline
                          TutorialDoctor
                          wrote on last edited by TutorialDoctor
                          #12

                          @GameCRAZY Im referring to an operation like [1,2,3] + [4,5,6] = [1,2,3,4,5,6] or [5,7,9]

                          Aidan_FireA 1 Reply Last reply
                          0
                          • Michael KhalfinG Offline
                            Michael KhalfinG Offline
                            Michael Khalfin
                            wrote on last edited by
                            #13

                            @TutorialDoctor Oh, I thought you meant like adding arrays into the behavior canvas. Oops...

                            1 Reply Last reply
                            0
                            • TutorialDoctorT Offline
                              TutorialDoctorT Offline
                              TutorialDoctor
                              wrote on last edited by TutorialDoctor
                              #14

                              Random Speed

                              0_1492665839196_IMG_2373.PNG

                              1 Reply Last reply
                              0
                              • TutorialDoctorT TutorialDoctor

                                @GameCRAZY Im referring to an operation like [1,2,3] + [4,5,6] = [1,2,3,4,5,6] or [5,7,9]

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

                                @TutorialDoctor it wouldn't be too hard to do those operations manually to get either result. I'd use loops I think.

                                1 Reply Last reply
                                0
                                • TutorialDoctorT Offline
                                  TutorialDoctorT Offline
                                  TutorialDoctor
                                  wrote on last edited by TutorialDoctor
                                  #16

                                  3D Rotation

                                  0_1492805923546_IMG_2549.PNG

                                  Doesn't quite work, but you get the idea. I could actually take some pointers on how to set this up to work smoothly.It looks like this does work, but it doesn't work when I try to use it with Joystick Controlled. SOLVED IT. It is because Should Flip was still on! And order matters!

                                  0_1492807892827_IMG_2550.PNG

                                  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