Asmodean's Recent Forum Activity

  • [quote:2eay5pka]

    Its strange that this issue is resolution dependant like Ive posted before. It may be because of the monitor or graphics cards.. I dont know. But Ive tested on 2 monitors and both of them have the same problem, but both have a refresh rate of 60hz. This happens when I set a max resolution on these monitors. If I go lower the problem disapears on 1 monitor, and on the other one is produced less.

    That reminds me on something. In the early day of DVD-players I had one that was regioncode free. It could play ntsc(60Hz) and pal(50Hz) and I could switch the output of the DVD-player itself from 50Hz to 60Hz. So, I could play ntsc DVDs with 50Hz output and reverse and I had in one of this combination exact the stuttering you describe. Extremly visible by pan shots (scrolling ).

    I don't have a clue if this is your problem, but then the refresh rate from Monitor and the graphic card do not correspond, but this would occur not only in the browser and what that all has to do with the screen resolution, I don't know.

  • That looks not suspicious at all. That the CPU-Usage of FF varied is normal but I see Window-Update, that could cause problems even without high CPU-Usage.

    I've run out of ideas, what you could else try:

    No internet access. Turn your Internet access off

    Wait until all windows updates are installed.

    You could try with a non browser 2D scrolling game if you have the same stuttering (I recommend Hydorah http://www.locomalito.com/hydorah.php (80MB slow server)) and if Videos on YT with the html5-player stutter.

    Boot your PC complete without all extern plugin Devices (USB) (except Mouse and Keyboard) even Lan-Cable or WLAN-Adapter. If you have build in WLAN turn it off.

    And last try Windows in Safe Mode that should all turn off, even drivers.

  • LittleStain

    Yes that is normal, but you can see in the second picture of the performance graph that something frequently bothers the javascript task and I don't think that is a normal behavior.

    Solomon

    I'm not an expert in this and all I do is guesswork. I think there is one task/process that bothers the browser, but I could be totally wrong.

    Can you try to start the capx in FF again without webconsole, then start the task-manager put it in front of your playing capx in FireFox. activate 'show process from all users' click on the CPU-tab that the little arrow points down.

    Now wait if you see a stutter, in this moment or a little before a new process could show up for a short time.

    Is something like this happens?

  • [quote:15e6mb7e]

    Once again thanks for taking the time to respond, I really appreciate it.

    No problem, what me really baffles is that after you set up all new the problems still exists, even the problem with the browser selection. I wonder if this is the same cause or a complete other. That means we could exclude 3rd party software. It remains a hardware problem, windows itself or windows driver.

    Do you have installed Windows, Construct and the Browsers all on drive C or some exotic drive like J or Y?

    Maybe this could cause a problem in finding the browsers.

    [quote:15e6mb7e]

    My graphics card is a Geforce960. I am looking into micro stuttering and vsync as you suggested (I did have tearing in the past) but Im not sure this is the case in this situation.

    The issue is that every second (or 60 frames) the smooth movement of a moving sprite is interupted with a micro stutter (I think I can call it that as to your previous post).

    As you might imagine this is really annoying and makes for testing games more difficult as Im wont be sure if its the micro stuttering causing lag or simply too much data in my game.

    I really understand that is annoying and a big problem for you.

    Can you test your box capx again in firefox and this time press F12. Now the WebConsole from FireFox should be shown. There should be a Performance-tab on the top of the webconsole-window and a little double window icon(show in own window) on the right (second last before the x).

    While your capx is previewed in FireFox with WebConsole open. Click the performance-tab, now there should be a record button, click it and wait that the stuttering appears several times. Now stop the record and click on the second icon from the right to show the result in its own window(maximize the window).

    You should now see the stuttering in the graph above. There is a millisecond scale on the graph, look the time where it stutter and now scroll down, on the left side you should see what happens to the time a little yellow or red square is on the time scale. With a little luck you see the culprit.

    In my example you can see one stutter at ca. 4800ms and the culprit is the garbage collection shown below.

  • Thanks for responding. Regarding CPU-usage in the Task Manager, it is 1% (multi threaded procesors).

    The lagging, do you have it with other capx files too? Or only this one?

    What Im wondering is, if I purchase the full version will I be able to export to windows in another way than html5? This is a deal braker for me, because if yes I will buy Construct today.

    I have the lagging also with other capx. The more complex, more often I see micro stuttering in the beginning, but it is only for a few seconds and I think that it's because of loading of the assets without preloading. I see it only when I start direct with the layout where movement is.

    Every export with construct based on html5, if you have the full version you can export to nw.js that wrapped your game direct in a chromium-based browser. So you have a direct runnable game without browser.

    [quote:2v9iurrd]

    UPDATE:

    I have done the following:

    1) Formated the computer.

    2) Installed new fresh Windows 7 64 bit.

    3) Installed all the up-to-date drivers for all the components, including graphics card.

    4) Updated bios.

    5) Installed Construct 2 and Firefox, nothing else.

    6) Ran the example that Ive posted here (uploaded above).

    Still the lagging problem persists. I am having issues like I mentioned above with the example I uploaded, the two boxes moving.

    I can rule out:

    1) Windows

    2) Graphic drivers

    3) Full hard-drive

    I read somewhere that there has to be a problem with the hardware somewhere, or perphaps a driver, Im not sure. But regarding drivers, there are no errors in the Device Manager under the Windows Control Panel. Same goes for hardware, no errors, nothing.

    Im not sure how to go about it at the moment. Any insight would be great.

    [quote:2v9iurrd]5) Installed Construct 2 and Firefox, nothing else.

    Not any antivirus software in the background or plugins?

    Do you have the lagging with games from the arcade or any other scrolling game?

    Have you tried it in fullscreen? (F11 in Browser)

    What Graphiccard do you have? Can it be that the newest driver has a problem with micro stuttering? (Do you google it)? Could it be a problem with the vsync in you driver?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've tried both of your capx without a big problem. The preview in different browser works. I have only sometimes the problem that the browser not comes up into foreground.

    I do have the lagging problem, but only in the beginning, after a few seconds it mostly works without problem. What I recognize is, that the browser seems to be sensitive against other program starts or clicking intensive with the mouse. You could look at the Task-Manager if there is any program what start uses CPU-Usage when the lagging appears.

  • Make the Periode of both sine-behaviors smaller (both the same value) and make the period-offset a quarter of the Periode-value

  • Maybe it is a problem with rounding? Is that what you try to achieve?

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

  • The problem is, if you use 'Start ignoring Platform input' 'simulate platform controll' will also not work.

    Does the whole rolling not work if you disable the event in the ladder group was that this event started again the Platform input that you stopped again it in the rolling-conditions. So it switched back and forth. I set instead the jumping and deceleration to zero. Maybe there is a better solution but it works.

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

  • Have you set in the 'configuration settings' Sampling to point? If not try if that helps.

  • I would do it without a loop. Make an extra global variable that act like a boolean like 'isAppend=-1'

    Then you could use this:

    System| isAppend=1 -> 'Append your Text'

    Button| on clicked -> System| set isAppend to isAppend*-1

    random event triggered -> System| set isAppend to -1

  • Maybe I understand this wrong, but you postet the solution already.

    If you named all of your animation like Animation1, Animation2, ....

    Use ' Set animation to "Animation"&BossNum '

    This will give you: Animation1, Animation2 ...

Asmodean's avatar

Asmodean

Member since 31 Jul, 2015

Twitter
Asmodean has 9 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies