Drawing a Graphice Segment

Scott Rossi scott at tactilemedia.com
Mon Jul 27 05:57:13 CEST 2015


Lock/unlock helps significantly here when showing the feedback and
dramatically improves the "feel" of the behavior.  Might just be slower
hardware.

On a related but separate note, I also ran into some weird issue when
doing experiments with mouseColor() causing recursion in LC 7.0.5.
Apparently mouseColor seems to be somehow tied to mouseMove (it shouldn't
be) and I get repeatable recursion limit errors.  Haven't checked with
7.0.6 yet.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/26/15, 2:46 PM, "Mike Bonner" <bonnmike at gmail.com> wrote:

>Will the lock/unlock actually help when the little pinpoint graphic isn't
>set to visible?
>
>Also, I was just thinking, the way I set things up I set the invisible
>graphic that follows the mouse as the backmost object so that I could then
>start my grc check loop at 2.  Depending on your needs you might need to
>do
>a naming convention and only check grc1 grc2 etc.
>
>On Sun, Jul 26, 2015 at 3:38 PM, Scott Rossi <scott at tactilemedia.com>
>wrote:
>
>> Works fine here.  Note that you'll likely get snappier performance by
>> locking/unlocking the screen at the beginning and end of the mouseMove
>> handler, as LC 7 can be pretty slow to natively update the screen.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 7/26/15, 11:36 AM, "Mike Bonner" <bonnmike at gmail.com> wrote:
>>
>> >Hmm. Let me look.  You did set up the one graphic (I used a line sized
>> >2x2,
>> >set to invis)  and have it follow the mouse around, right?  And no, as
>>far
>> >as I can tell a group makes no difference.
>> >
>> >If you see from my test stack I have one tiny grc named "mousepoint"
>>and
>> >the first line of the mousemove is "set the loc of grc mousepoint to
>>the
>> >mouseloc"
>> >
>> >Also, you might make sure you have the most recent version of the
>>script.
>> >I had to move one line out of the repeat loop to get the results I
>>wanted.
>> >
>> >Post your version of the mousemove handler if you wish, we can take a
>>look
>> >at it.
>> >
>> >On Sun, Jul 26, 2015 at 12:19 PM, Terence Heaford
>><t.heaford at icloud.com>
>> >wrote:
>> >
>> >>
>> >> > On 25 Jul 2015, at 22:37, Mike Bonner <bonnmike at gmail.com> wrote:
>> >> >
>> >> > Added some tweaks to make it function better, it works pretty well
>> >>now,
>> >> Try
>> >> > re-downloading for the newest version.
>> >>
>> >>
>> >> Is there any reason this would not work when the graphics are
>>contained
>> >>in
>> >> a group as I can¹t get it to work?
>> >>
>> >>
>> >> Thanks
>> >>
>> >>
>> >> Terry
>> >> _______________________________________________
>> >> use-livecode mailing list
>> >> use-livecode at lists.runrev.com
>> >> Please visit this url to subscribe, unsubscribe and manage your
>> >> subscription preferences:
>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>> >>
>> >_______________________________________________
>> >use-livecode mailing list
>> >use-livecode at lists.runrev.com
>> >Please visit this url to subscribe, unsubscribe and manage your
>> >subscription preferences:
>> >http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list