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. Comments & Feedback
  3. Feature Request: Getters for all Setters

Feature Request: Getters for all Setters

Scheduled Pinned Locked Moved Comments & Feedback
8 Posts 4 Posters 1.1k 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.
  • D Offline
    D Offline
    Deeeds
    wrote on last edited by
    #1

    Set Bounce, Set Friction are two jumping out at me, right now.

    I could really use a "Get Friction" for debugging, right about now. I don't know where/how I'm setting it, or to what.

    But, other than that, in general, I think all getters and setters should be merged into single blocks, with a switch, that determines whether they're a getter or setter.

    So there's behaviours:

    Get/Set Friction
    Get/Set Bounce
    Get/Set Mass

    etc.

    And the user taps the switch to make each block either a getter or setter.

    Less blocks good, I say.

    Similarly, while I'm on the subject of minimisation:
    Arithmetic can be one block with a pair of inputs and an operator in the middle, to be chosen from add, subtract, multiply, divide, square and exponent.

    Further, right below the pair and operator can be an option to add another operator and another input, ad infinitum.

    I like spreadsheets, too.

    D 1 Reply Last reply
    0
    • D Deeeds

      Set Bounce, Set Friction are two jumping out at me, right now.

      I could really use a "Get Friction" for debugging, right about now. I don't know where/how I'm setting it, or to what.

      But, other than that, in general, I think all getters and setters should be merged into single blocks, with a switch, that determines whether they're a getter or setter.

      So there's behaviours:

      Get/Set Friction
      Get/Set Bounce
      Get/Set Mass

      etc.

      And the user taps the switch to make each block either a getter or setter.

      Less blocks good, I say.

      Similarly, while I'm on the subject of minimisation:
      Arithmetic can be one block with a pair of inputs and an operator in the middle, to be chosen from add, subtract, multiply, divide, square and exponent.

      Further, right below the pair and operator can be an option to add another operator and another input, ad infinitum.

      I like spreadsheets, too.

      D Offline
      D Offline
      Deeeds
      wrote on last edited by
      #2

      I've decided the only thing needed is a single block for ALL getters and setters.

      Get/Set

      The first field is the entity that's going to be gotten from or set to.

      The next field(s) are where the user picks what to get and/or set.

      Simple. Universal. Elegant. Easily understood and articulated, incredibly powerful, yet elegant.

      Time for a beer.

      Aidan_FireA 1 Reply Last reply
      0
      • D Deeeds

        I've decided the only thing needed is a single block for ALL getters and setters.

        Get/Set

        The first field is the entity that's going to be gotten from or set to.

        The next field(s) are where the user picks what to get and/or set.

        Simple. Universal. Elegant. Easily understood and articulated, incredibly powerful, yet elegant.

        Time for a beer.

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

        @Deeeds Kinda like how they have only the 1 behaviour for all trig functions? (Math function)

        D 1 Reply Last reply
        0
        • Aidan_FireA Aidan_Fire

          @Deeeds Kinda like how they have only the 1 behaviour for all trig functions? (Math function)

          D Offline
          D Offline
          Deeeds
          wrote on last edited by Deeeds
          #4

          @Aidan-Oxley Yes, and all math functions should have their own little box, too.

          No need for different ones for

          +
          –
          x
          ÷
          ^
          √

          Put them in all in a single "Calculate" box, and enable the user to pick the operator in between values, and then let them add more operators and values as they require.

          Aidan_FireA 1 Reply Last reply
          0
          • D Deeeds

            @Aidan-Oxley Yes, and all math functions should have their own little box, too.

            No need for different ones for

            +
            –
            x
            ÷
            ^
            √

            Put them in all in a single "Calculate" box, and enable the user to pick the operator in between values, and then let them add more operators and values as they require.

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

            @Deeeds I think this could be useful. The amount of times I’ve made a huge amount of maths logic, just to realise that one box is addition rather than subtraction by mistake. Have to disconnect all the behaviours, delete the addition, replace it with subtraction then connect it all back up. To be able to just go and change a sign between two values would be awesome.

            1 Reply Last reply
            0
            • MurtazaM Offline
              MurtazaM Offline
              Murtaza
              Admin
              wrote on last edited by
              #6

              The getters/setters is actually a planned change. Also same with the math functions! We want to have a "calculator" type behaviour that can handle all the calculations in a single place.

              D 1 Reply Last reply
              0
              • MurtazaM Murtaza

                The getters/setters is actually a planned change. Also same with the math functions! We want to have a "calculator" type behaviour that can handle all the calculations in a single place.

                D Offline
                D Offline
                Deeeds
                wrote on last edited by
                #7

                @Murtaza Can you add "Observers" to this planning?

                By this I mean having things that observe changes to a property.

                There's two modes of operation for an observer for ideal use and design:

                willSet (knows it's about to change so does something with the existing value and considers how to use the incoming value)

                didSet (knows the value has changed and has access to both the prior value and new value to do as it pleases)

                These are incredibly simple activation switches for objects, and absolutely ideal for game design and production conceptualisation. Saves on messaging, too, enormously.

                HamedH 1 Reply Last reply
                0
                • D Deeeds

                  @Murtaza Can you add "Observers" to this planning?

                  By this I mean having things that observe changes to a property.

                  There's two modes of operation for an observer for ideal use and design:

                  willSet (knows it's about to change so does something with the existing value and considers how to use the incoming value)

                  didSet (knows the value has changed and has access to both the prior value and new value to do as it pleases)

                  These are incredibly simple activation switches for objects, and absolutely ideal for game design and production conceptualisation. Saves on messaging, too, enormously.

                  HamedH Offline
                  HamedH Offline
                  Hamed
                  Admin
                  wrote on last edited by
                  #8

                  @Deeeds Maybe. This is a pretty hefty request because we have a lot of behaviours with many different properties to watch. For now I would maybe create your own observers using broadcast and receive, broadcasting whenever you change the property.

                  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