cybertron7's Forum Posts

  • Fanstastic... even without the CSS updates, manually setting the positions every tick has DRAMATICALLY improved scrolling.

    While insane, I'm happy to have a decent resolution. It's not perfect... but the app runs much smoother.

    Had to create my own checkbox system....

  • UGHHH FUCK C2 just crashed. Back to the start.

  • MOTHERFUCKER.

    You can't change the CSS OR POSITION of an checkbox field.

    More fucking work because Construct. Fuck.

  • Alright, so this method of scrolling with JUST updating the position on every tick, is MUCH smoother.

    The text still bounces, but I haven't tried to update the CSS yet. I expect positive results.

    BRB..

  • FANTASTIC.

    I can confirm that this method works.

    I guess I'll have to rebuild the ENTIRE scroll system... but if it works it works.

  • Wow, what a great demo. It certainly looks clean in browser...

    I'll see what happens if I apply this to mobile app...

    Fingers crossed.

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

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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....

  • 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.