[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
Posts: 17
Reputation: 291

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
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

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
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Sat Dec 14, 2013 12:49 am

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


Return to How do I....?

Who is online

Users browsing this forum: SturmIV and 7 guests