Colludium's Recent Forum Activity

  • Tokinsom, it's got to know that it's not just me! Do you see dt varying or does it appear fixed?

    OldieSteve, jank is apparent stuttering of the browser display, movement that doesn't appear smooth due to frame drops.

  • I've submitted a chromium issue report for the crashing of the developer tools.

  • OK, the http://www.vsynctester.com works well for me in Chrome.... So it might be a peculiar bug for my hardware v Google's finest. I just don't understand why vsynctester can register dt but c2 cannot....

  • GenkiGenga, it's a good idea. I just closed everything else down, double checked that both Chromes were up to date.... But dt is still frozen in Chrome. Weird...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • :/

  • shinkan / GenkiGenga,

    Do you guys find that the dt / fps indications are also frozen in Chrome? Or is it just my hardware that's causing some weird glitch?

    Thanks.

  • GenkiGenga - I tried it on my Nexus 5 and it was flawless as well....

  • Hi shinkan, I can only show a shot of Chrome Canary:

    Here's Firefox. The red splodge is where I cut the image by a 4 seconds (a smattering of <60 fps but nothing significant like the big drops at approx 10000 ms):

    Running all versions this time, it appears that Edge was actually very good, and so was IE in W10. Both had almost zero frame drops when the javascript consoles were not running.

  • There are a couple of problems here....

    I created a scene camera pan effect in Umbra and was so disappointed by the gross apparent jank that I decided to do some testing to see what might be the cause. I therefore created a test that simply scrolls a camera around a large layout (8000 x 8000) using lerp. It's a terrible camera action, but I think it highlights a real problem. I'm posting this to see if any javascript gurus might be able to shed light on why the jank is happening (if it's not a c2 problem) and/or offer suggestions for a next move (c2 bug report / chrome bug report etc). If there was no jank in Firefox and/or Edge then I would not be inclined to look towards the c2 engine as being a factor in the problem. However, all of my browsers show frequent dropped frames.

    Here's a link to the html5 demo. Run this and test your browser if you wish. HTML5 Link

    If you'd like to tinker with the capx then here you go. My original plan was to fade in/out a "jank" indicator every time the dt exceeded the normal time, but it never worked in Chrome (see below): jank capx

    This simple test moves the camera lerp target every second, then the camera lerps onwards over a seamless tiled background.

    I see two problems here:

    1. There is lots of apparent jank, as discussed. This is confirmed by plenty of dropped frames being recorded in the javascript console. This is possibly the simplest action "game" I could ever make... yet jank is apparent on all of my browsers (both versions of Chrome, Firefox & Edge).

    2. In Chrome (release AND Canary) the FPS and dt are both reported in the demo as fixed and unchanging, yet in the javascript console there are plenty of dropped frames. This seems like a Chrome bug.

    Of note, when I tried to open the javascript console in Chrome release it just froze on me when I tried to record the timeline. Looks like Chrome has some issues....

    My system spec: AMD A10-5800 with NVIDIA GeForce GTX 750 Ti. The same happens on my old wheezy i5 laptop as well.... Anyone any thoughts?

    Edit - update with a non-subtle Jank indicator (does not work in Chrome).

    Edit 2 - Further testing has shown that Edge is really quite good, with minimal jank / dropped frames.

  • I find the debugger provides a lot of useful information, but it's limited because it can't access the chromium engine and report back what's going on there. So when a frame drops, even though fps is a solid 60 and the cpu is at 30% there's no way to know what event caused that particular dropped frame. Checking the javascript console shows that, perhaps, there was a spike in use of the c2 engine, but that's unhelpful information because there's no way to find the cause of a dropped frame.

    blurymind asks a good question - how far has the c3 editor progressed? I know it's traditional for devs to throw out a "it'll be ready mid-Dec" guess and then miss that deadline by a country mile, but the absence of any hint is perplexing. Are we discussing how long a piece of string is? When it's done it'll be done...? It would be good to know, although like Jayjay, I don't think I'll be using c2 for anything more than for LD or concept testing in future, because when it comes to export: results are all that matter, and the experience or pleasure of working in the editor are secondary if players see a second rate product.

  • Thank you immortalx! I really appreciate your kind words.

  • Spriter is excellent for animating your main character, but it's a 3rd party program: so small adjustments have to be reimported into c2 to be tested (time consuming, convoluted save and import process) and, also, the Spriter animations are super-demanding of cpu time (my pc can only run a few scml objects on screen at any one time before it frame drops!!). Having a built in animation keyframe/timeline editor would have been simply outstanding for c3. Sigh... I take it that c3 will not have such a feature....

    On the bright side, Godot Engine is open source, has a robust animation editor and a simple native desktop export...

Colludium's avatar

Colludium

Member since 26 Aug, 2013

Twitter
Colludium has 11 followers

Connect with Colludium

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies