cybertron7's Recent Forum Activity

  • So what am I supposed to do to fix it? It looks terrible.

  • Yeah and it looks like shit. My client is pissed.

  • Rounding did not help. HTML elements still lag like crazy.

  • Big find here: Text elements can only be positioned at INTEGER values.

    10, 15, 20 -- NOT 10.2, 15.00001, etc.

    So I think this is what is causing the lag. The renderer is trying to put an HTML input at 202.2324 and it's freaking out.

    I have now tried to round() the value to elimate the decimals... let's see.

  • So your method leads me to understand that the CAMERA LOOK AT feature is causing this issue.

    If I move objects directly via X and Y positioning, it works.

    I would suggest that the C2/C3 engine LookAt plugin is updated to re position DOM elements more promptly.

  • Heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeey

    YOU ROCK BROH.

    For those interested, this dear sweet man has a brilliant method to fix this problem:

    Browser.ExecJS("document.getElementById('c2canvas').offsetTop")

    It moves the canvas....

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This happens in C2/C3 the way.

    I think what I'll do is custom create inputs. Which kinda sucks.

    But. Hey.

  • There is a gif of the problem.

    It appears the setInterval for scrolling in the C2 engine is too slow? It doesn't match the speed of the camera. The frequencey is not the same?

    How could I overcome this to get smooth scrolling text. It doesn't look so bad here but on an iPhone 7 it's AWFUL.

  • WAIT! Upon posting I went back to chrome and I can indeed see the lag effect!

    I wonder if I can just write better code for camera scrolling......

  • Construct 2 Camera Scroll on Forms produces a lag effect on HTML Elements

    Hi everyone, when I use the camera to scroll in C2, it looks fine when I debug in chrome. Yay.

    When I export to C3 and build for iOS, scrolling lags.

    That is, the HTML elements only update every 0.5 seconds, where the Canvas may be updating every tick? This produces a horrible and gross scrolling effect.

    Any one know how to resolve? I would LOVE to build my apps in C2/C3 but they require input forms...

  • Sweet, thank you. Worked great.

cybertron7's avatar

cybertron7

Member since 30 Nov, 2014

None one is following cybertron7 yet!

Trophy Case

  • 9-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
  • Email Verified

Progress

13/44
How to earn trophies