Warping effect degenerates over time

Report Construct 2 bugs here.

Post » Thu Feb 19, 2015 11:37 am

Problem Description
Applying the warp effect to text causes the effect to degenerate over time with jerking movement as though it were low fps (fps is actually 60 and other objects move fine).
Only affects mobiles/tablets - effect starts off fine for about 2 1/2 minutes (ipad 4) then starts to degenerate, fps is constant 60.

Attach a Capx
https://drive.google.com/folderview?id= ... sp=sharing

Description of Capx
Simple project with just one warping text object.

Steps to Reproduce Bug
    Just run the capx and wait approx 2 1/2 minutes, http preview or final package.

Observed Result
Jerking text motion

Expected Result
No loss of motion quality - it's not a performance issue.

Affected Browsers
    safari - ipad (ios8)
    chrome - android (lollypop)
    intel xdk - ipad, android

Operating System and Service Pack
ios & android

Construct 2 Version ID
195 64bit

Thanks =)
Last edited by majesticAsFk on Wed Jun 10, 2015 9:46 pm, edited 1 time in total.
B
13
S
4
Posts: 65
Reputation: 875

Post » Mon Feb 23, 2015 1:15 pm

Can't reproduce on a Nexus 7 or Nexus 9, both running Android 5. I think it depends on the precision of the hardware. What actual device models have you tested on?
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,041

Post » Mon Feb 23, 2015 7:58 pm

I'm using a Nexus 5, thanks for looking into it.
B
13
S
4
Posts: 65
Reputation: 875

Post » Tue Mar 03, 2015 9:07 pm

I saw this happen with a project I was working on 6+ months ago running on an iPad 4 with CocoonJS. Eventually redid the effect using a sine wave behavior and a sprite font.
B
31
S
7
G
8
Posts: 232
Reputation: 6,284

Post » Wed Mar 04, 2015 5:07 pm

Thanks for the suggestion @cacotigon
B
13
S
4
Posts: 65
Reputation: 875

Post » Wed Jun 10, 2015 9:48 pm

I'm also getting this on a simple block sprite I'm using to simulate water.
(title updated)
B
13
S
4
Posts: 65
Reputation: 875

Post » Sun Aug 09, 2015 3:13 pm

majesticAsFk wrote:I'm also getting this on a simple block sprite I'm using to simulate water.
(title updated)


This also happens on PC.

At least mine :) (win 8.1, Chrome)

Solution would be great or a fix in an upcoming update too! @Ashley

Thanks!

P.S. my report - viewtopic.php?f=152&t=150862&p=959389#p959389
Positive, inspiring and jazzy games!

www.crystalgames.space

Enjoy!
B
17
S
8
G
3
Posts: 174
Reputation: 3,455

Post » Tue Sep 05, 2017 11:16 am

Can't reproduce on a Nexus 7 or Nexus 9, both running Android 5. I think it depends on the precision of the hardware. What actual device models have you tested on?


I can confirm this bug still exists and affects iPhone 6s and iPod Touch 5th Generation hardware.

It appears to be the precision of the 'seconds' variable in effects which use this variable that degrades.

If it helps, I timed the degradation. It becomes very visible within roughly 1 minutes and 20 seconds. Restarting or changing layouts doesn't help. It appears to be a time connected to the entire app's lifetime.

Considering this time variable 'seconds' is used in an effect which we can presume is likely going to be "looping", couldn't we reset the variable within a particular loop period to reset the precision?
B
10
S
1
Posts: 13
Reputation: 472

Post » Tue Sep 05, 2017 12:25 pm

Another update actually... I just tested changing:

Code: Select all
uniform mediump float seconds;

to:

Code: Select all
uniform highp float seconds;

And it appears to resolve the problem. I recommend moving over to highp for all your effects which use 'seconds'.
B
10
S
1
Posts: 13
Reputation: 472


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests