[Solved] Drag-Drop performance on Mobile

Get help using Construct 2

Post » Fri Dec 13, 2013 3:23 am

Hi Constructors !

Problem :

Use Drag-Drop Behavior :
A blank layout with just one sprite (add Drag&Drop Behavior) ,using Cocoonjs to my tablet ,when I drag the sprite ,it will not follow my hand perfectly ,with some delay .the delay will become obvious when i do a fast drag (fps is 61).
(NoDelay on PC)

.Capx : https://www.dropbox.com/s/lwkzci67u7orf0h/DragBehavior.zip

Hand made Drag-Drop:
I try to not use the behavior ,then I hand made a drag-drop with touch event , get the same delay result on tablet .
(Has Delay on PC)

.Capx : https://www.dropbox.com/s/hxo3eu9zhy9ayxz/NoDragBehavior.zip

Question :
do the problem has something to do with the optimization of Cocoonjs or the Construct 2 ?
Any solution to make it 100% following ?

Thank you !Zaoeyo2013-12-14 00:52:17
B
5
S
1
Posts: 17
Reputation: 441

Post » Fri Dec 13, 2013 8:56 am

Neither of the files are .capx, but exported HTML projects. You need to 'Save As' a single project file, which is a .capx.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
138
S
31
G
88
Posts: 5,634
Reputation: 61,179

Post » Fri Dec 13, 2013 1:21 pm

Some latency of rendering behind user input is normal in game engines. Different systems have different amounts of latency.
Scirra Founder
B
405
S
239
G
91
Posts: 24,760
Reputation: 197,314

Post » Sat Dec 14, 2013 12:49 am

Thanks ! so that is to say I can't not optimize it...
B
5
S
1
Posts: 17
Reputation: 441


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 50 guests