Reduce Jerkiness of Dragging objects in iOS? - Solved

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Reduce Jerkiness of Dragging objects in iOS? - Solved

Post by DR White »

How can I reduce the jerkiness of dragging objects?
Attachments
DragMe_Home.livecode.zip
(1.52 KiB) Downloaded 339 times
Last edited by DR White on Fri Jun 07, 2019 2:56 am, edited 1 time in total.
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Reduce Jerkiness of Dragging objects in iOS?

Post by bogs »

I dunno, DR White, it works smoothly on my desktop and I don't have mobile devices to test with.

You could try adding lock / unlock screen to the snippet and see if that alleviates some of the jerkiness, or lockScreen,

Code: Select all

on mouseDown pButtonNumber
   lock screen
   grab me
   unlock screen
end mouseDown
Image
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Reduce Jerkiness of Dragging objects in iOS?

Post by DR White »

bogs,

Using Lock/unlock screen doesn't help in mobile.

I am sure that there must be some way to make it move smooth in mobile.

Thanks,

David
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Reduce Jerkiness of Dragging objects in iOS?

Post by bogs »

Huh, the dictionary says it works on mobile.
Dictionary wrote: lock screen
type
command
syntax

lock screen [for visual effect [in rect[angle] rectString]]

summary
Sets the lockScreen property to true, temporarily preventing the screen from being updated.
introduced
1.0
OS
mac, windows, linux, ios, android
platforms
desktop, server, mobile
Hmmm. Well, if it doesn't, hopefully someone that does mobile will show up shortly.
Image
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Reduce Jerkiness of Dragging objects in iOS?

Post by DR White »

Bogs,

It does work on mobile. I have used many times and does a great job preventing screen update, until all the screen changes have been made. But, it does not help the jerkiness when using "grab me" in mobile.
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Reduce Jerkiness of Dragging objects in iOS? - Solved

Post by DR White »

I am SORRY!

The Jerkiness is only seen when I test the app on the Simulator. When I actually downloaded it to my phone it works fine.

Again sorry to bother you,

David
Post Reply