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

    Need help with shooting and monsters killing you.

    Scheduled Pinned Locked Moved
    Help and Support
    7
    41
    2.1k
    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.
    • iTap DevelopmentI
      iTap Development @Deeeds
      last edited by

      @Deeeds so by call functions you mean trigger it’s own behaviors? And define “inspect elements”, what elements are you wanting to inspect?

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

        @iTap-Development This is a theoretical and conceptual question, not a specific one.

        iTap DevelopmentI 1 Reply Last reply Reply Quote 0
        • iTap DevelopmentI
          iTap Development @Deeeds
          last edited by

          @Deeeds good grief! How’s anyone going to help you then?
          And why do you need help? Theorize elsewhere.

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

            @iTap-Development Because understanding HOW things work is like this:

            Teach a man to fish... etc

            Too subtle for you?

            iTap DevelopmentI 1 Reply Last reply Reply Quote 0
            • iTap DevelopmentI
              iTap Development @Deeeds
              last edited by

              @Deeeds no one needs the theory, because most can probably do it!
              And how will you teach him to fish? “The concept is simple, throw the hook in the water. Now theoretically the fish should bite....so go catch some fish!”

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

                @iTap-Development argh. Ok. You must be very young and have only ever been exposed to "tutorials" as teaching.

                iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                • iTap DevelopmentI
                  iTap Development @Deeeds
                  last edited by

                  @Deeeds haha you are charming! But that would make you just about prehistoric!

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

                    @iTap-Development I'm BOOP,

                    Before OOP

                    iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                    • iTap DevelopmentI
                      iTap Development @Deeeds
                      last edited by iTap Development

                      @Deeeds ok...I don’t have time for anymore pointless posting.....but if you have a real question....I’ll help you theorize!

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

                        @Jack8680 I think this approach sounds somewhat similar to how prototypes work in JavaScript.

                        In hyperCard: I'm still struggling with how an object can have awareness of itself and use that knowledge to pass some information of itself to something else.

                        In plain speak:

                        Spawn a bunch of bumpers for a pinball game:

                        When one is hit by the ball it sends a message describing the collision (from whence the ball came, at what speed and where it got hit) to a scoring system, along with information about itself, like its position and current points value and the time of the contact and other state it might have been in at the time of the contact.

                        MurtazaM 1 Reply Last reply Reply Quote 0
                        • MurtazaM
                          Murtaza Admin @Deeeds
                          last edited by

                          @Deeeds said in Need help with shooting and monsters killing you.:

                          @Jack8680 I think this approach sounds somewhat similar to how prototypes work in JavaScript.

                          In hyperCard: I'm still struggling with how an object can have awareness of itself and use that knowledge to pass some information of itself to something else.

                          In plain speak:

                          Spawn a bunch of bumpers for a pinball game:

                          When one is hit by the ball it sends a message describing the collision (from whence the ball came, at what speed and where it got hit) to a scoring system, along with information about itself, like its position and current points value and the time of the contact and other state it might have been in at the time of the contact.

                          For this, example couldn't you just use broadcast message and send all the relevant information? The main hurdle, would be that you need other behaviours to first get the position then put that into broadcast.
                          Attributes work as well. This was one of the reasons why we built attributes. You can give your object certain properties. (like points). Then any other object can see that objects attributes. The attributes method doesn't work so well in the case of spawned objects. But I think the new broadcast/receive messages should.

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

                            @Murtaza Yes, for this example there are dozens of ways this can probably be achieved. I'm attempting to use this example, however, to examine the potential for communication FROM spawned objects to somewhere else.

                            Please don't consider the problem, think about the question I'm asking from the perspective of: What are the capabilities of awareness and messaging within spawned objects?

                            1 Reply Last reply Reply Quote 0
                            • MurtazaM
                              Murtaza Admin
                              last edited by

                              When it comes to spawned object, there are definitely limitations. We're working on solutions. The new broadcast/receive is only the first step.

                              We're not turning a blind eye to the core problem. But coming up with an elegant (and feasible) solution takes some time. While not perfect, we update things like the message system as a work around until a proper solution is in place.

                              Unfortunately given the nature of "visual programming" you usually need to work around things to make it work the same way as traditional programming.

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

                                @Murtaza Argh. Got it...

                                Achievement unlocked:

                                0_1510795548812_GirlyBumper.jpg

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post