Grimmy's Recent Forum Activity

  • Hi, I tried with the a = lerp(a, b, 1 - f ^ dt) approach but I still see exactly the same result on device.

    I have a new 60fps video here in which you can see the issue even at quite a slow speed:

    https://www.dropbox.com/s/gdpl5dp06psnv5h/Jank2.mp4?dl=0

    Delphawi I think I've tried all the advanced options tried reducing resolution etc etc.

    I'm really only concerned with the Android device build where this is happening as its perfectly fine on PC.

    ..I just tried with the inbuilt move behaviour too. Its just as horrible.

  • Its less noticeable at slow speeds but its still there.

    Memory usage on device is around 60-70

    Cpu usage around 50.

  • but at 60fps the sprites will "jump" 40pixels every tick, if they move from one side to the other in a second, it cannot be "silky smooth" movement?

    Front 'janky' plants move like this:

    lerp(self.X, Self.X-(train_speed*(Self.speed_adjust)), dt)

  • Well, I managed to eventually set my resolution to half (now 954 x 480) but I still see the janking :(

  • Its most noticeable on the foreground plants because they are moving faster but its happening on all the moving objects.

    Unfortunately the Janking isn't even and predictable. Sometimes its janks a few pixels and sometimes it janks a lot more, all the time at random intervals so in all the end effect is very hard on the eyes even while the app is running at 60fps. I would expect it to be silky smooth.

    My main prediction now is that the screen resolution is just too high to refresh efficiently, but I cant seem to change layer scales or layout scale to match a new canvas size.

  • Unfortunately still no resolution on this. Still seeing significant jank even though its running at over 60fps and no objects are being created or destroyed during runtime.

    Im out of ideas :(

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Looks like it got sent already. Maybe its in your trash? I sent again though to be sure. Its from S*monfzq@pigobo.com

    Cheers

  • Will send again later, I'm also doing Sunday things :) cheers

  • Im starting to think this maybe all due to my project's high resolution. Its currently at 1708 x 960 which is pretty high.

    Is there an easy way to reduce the resolution project wide for testing, or would I manually need to rescale and re-position every sprite one by one just to test this theory?

    I tried setting the canvas size in code to half which has the effect of zooming everything in...and then scaling each layer by 0.5 but the layer scaling doesn't seem to do anything at all.(?!)..nor does layout scale

    Having said this, my project setting for fullscreen resolution is already set to low.

  • Thanks. I just sent you an email.

  • Thanks. I just tried that, but I see exactly the same janking all over the place :(

  • Yes, tried it without it. The fps is fine, some things are smooth but objects moving right to left just jank even when its all running at solid 60fps+ on Android.

Grimmy's avatar

Grimmy

Member since 20 Nov, 2012

Twitter
Grimmy has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

17/44
How to earn trophies