Grimmy's Recent Forum Activity

  • added my ⭐ to the issue

    Everybody who uses C3 should do this :)

    I just read one of the comments from the Chrome devs:

    For the record, the above test case drops frames in Chrome even on a recent M1 MacBook Pro with high-end CPU.

  • Thank you both!

  • I have a global variable. Lets say Speed=0

    I want to have it increase to 100 on a nice smooth easing curve. ie, its starts off slow, increases and then slows down toward the end. Like a tween but with a global.

  • Gotcha Thanks.

    Instead of every tick, I just use 'Is Tween Playing' and it works perfectly.

    + TL_Speed_Easer: Is Tween "Tween Speed" playing

    -> System: Set train_speed to TL_Speed_Easer.Tween.Value("Tween Speed")

  • Hi, I'm basing an objects speed on a tween value.

    The object accelerates niceley but when the tween finishes the speed goes straight to zero. Here is the code..

    My function:

    * On function 'TL_Ease_To_New_Train_Speed'

    * Parameter 'new_train_speed' (Number)

    -> TL_Speed_Easer: Tween "Tween Speed" value from train_speed to new_train_speed in 5 seconds (Linear, destroy: No, loop: No, ping pong: No)

    And every tick I match my train speed to the tween value..

    + System: Every tick

    -> System: Set train_speed to TL_Speed_Easer.Tween.Value("Tween Speed")

    Any ideas? I would expect the value of the tween to remain at its end value once finished.

    Tagged:

  • FYI Ashley posted a bug report to Chromium Bugs along with a slow motion video of the janking in all its glory.

    The bug report and video are here:https://bugs.chromium.org/p/chromium/issues/detail?id=1324177

    Thanks Ashley

  • I can tween objects that have the tween behaviour no problem but what do I do if I need to tween a global variable?

    Thanks

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Remote preview is always about 20% slower on anything I ever try so I almost always create a debug APK to get a better reading.

    The janks happen are more common on a lower end device but even on a my fairly high end Huawei Mate Pro I see it sometimes. I even saw it happen on my high end PC a couple of times.

    The frustrating thing is that all these devices are running 60fps even when it happens.

  • It's definitely a thing and not an optical illusion where the game can freeze for a few ms from high cpu use, even on pc, even when fps is 60+.

    Exactly, and this only happens so noticably in C3 and not with other engines. Other engines running at 60 FPS are so buttery smooth you can instantly tell the difference.

  • The events just move each sprite back to the right edge when each one individually reaches a certain point in the x. Its already progressive. Have a look at the c3p to see whats going on in more detail if you like.

  • I wrote a standalone project to test with the very basics. 60fps but still get the jank on device.

    Its more noticeable at max speed and on my Galaxy A7 janks about every 3-4 seconds.

    Project is here: https://www.dropbox.com/s/7wq0z2lhtggj7e7/JankTest1.c3p?dl=0

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