sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    OnKey_Downer!

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 3 Posters 426 Views 3 Watching
    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.
    • CadFatherC Offline
      CadFather
      last edited by

      read through some of the old posts but didn't find anything a one neuron coding master could actually use.

      Fredo6 pointed to a thru paint animation routine to achieve a Typematic effect. i looked through the code but i realise i'm not ready for a lobotomy yet.

      has no one worked this one out, can't we 'just' keep a button down and have it repeat?

      Looking at Pixero's JSmover, (which is a real gem) - i was hoping to add 2 features:

      1. repeat on key press
      2. make it follow a slope if on one. (perhaps combining some sort of drop to intersection procedure)

      dreamland i know, but really we have quite a few great plugins that could be 'perfected'!

      1 Reply Last reply Reply Quote 0
      • D Offline
        driven
        last edited by

        @cadfather said:

        has no one worked this one out, can't we 'just' keep a button down and have it repeat?

        you can do with the arrow keys? .e.g. jf_Mover2.rb...

        it also works with WASD,
        but on a mac, that requires 'ApplePressAndHoldEnabled' to overide the context menu for text replacement options...

        knight's game works as well and uses a ray-test for face to detect terrain under foot...

        so, both are doable...

        john

        learn from the mistakes of others, you may not live long enough to make them all yourself...

        1 Reply Last reply Reply Quote 0
        • CadFatherC Offline
          CadFather
          last edited by

          thanks Driven, i know even a few camera moving scripts do it but just couldn't 'get' the code to tweak, so i thought i'd check for some kind of routine/snippet that could be integrated.

          this is what i was looking at: http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=24327#p239409

          1 Reply Last reply Reply Quote 0
          • D Offline
            driven
            last edited by

            as far as my tests go that one no longer even works on mac...

            all the ones I know involve WebDialogs actively capturing the keys, otherwise you would need to disable all shortcut keys...

            john

            learn from the mistakes of others, you may not live long enough to make them all yourself...

            1 Reply Last reply Reply Quote 0
            • CadFatherC Offline
              CadFather
              last edited by

              πŸ˜’ goodness so many scripts could do with this 'basic' functionality.

              thanks for testing it - i should have done so, had only looked at the code 😞

              1 Reply Last reply Reply Quote 0
              • fredo6F Offline
                fredo6
                last edited by

                @cadfather said:

                read through some of the old posts but didn't find anything a one neuron coding master could actually use.

                Fredo6 pointed to a thru paint animation routine to achieve a Typematic effect. i looked through the code but i realise i'm not ready for a lobotomy yet.

                has no one worked this one out, can't we 'just' keep a button down and have it repeat?

                Actually, I don't use Repeat key down, but simply the animation mechanism (nextframe method). Keyboard management in the SU API is very rudimentary and repeat does not work consistently.

                Fredo

                1 Reply Last reply Reply Quote 0
                • CadFatherC Offline
                  CadFather
                  last edited by

                  i guess one workaround is to make a webdialog tiny enough not to intrude 😲 but able to 'catch' the keystrokes repeating...

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Buy SketchPlus
                  Buy SUbD
                  Buy WrapR
                  Buy eBook
                  Buy Modelur
                  Buy Vertex Tools
                  Buy SketchCuisine
                  Buy FormFonts

                  Advertisement