Asmodean's Forum Posts

  • It freezes by me too. I get an error in the console.

    Uncaught TypeError: Cannot read properties of null (reading 'EndTimeElapsed')

    I think that there is a problem with Framerate mode 'unlimited'. It looks like there is an overflow or something. Maybe it depends on the type of Graphikcard or memory if it doesn't appear on dops Computer.

  • Maybe a rollover problem. Some Key combinations doesn't work on some keyboards. On my keyboard up, left and space doesn't work.

    Here you can test your keyboard:

    https://www.mechanical-keyboard.org/key-rollover-test/

  • Works fine for me.

    I saved it again maybe that helped:

    drive.google.com/file/d/12fxz0l_k_d5x7-YqVa3K17ScwzpKy439/view

  • Try: RegexReplace(str(int(score*100)/100),"^(\d+\.\d)$","g","$&0")

    I assumed you get only values with 2 two digits after the decimal point, but if you add 0.01 every tick you get floating point errors with a bunch of 9 or 0. This should now hopefully work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It should work the way you do it:

    DigitScore: Set text to RegexReplace(str(score),"^(\d+\.\d)$","g","$&0")

    or

    DigitScore: Set text to len(tokenat(str(score), 1, ".")) = 1?str(score)&0 : str(score)

    It looks like you append some extra zeros to the DigitScore in another event.

  • Both methods working fine for me. Score should be your number with the decimal point.

  • Another approche: RegexReplace(str(score),"^(\d+\.\d)$","g","$&0")

  • Have you choose the correct First Layout in Startup of the Project Properties.

  • Click once on 'learn more' and it should be gone the next time starting.

  • If you look at the console with F12 you see that the user denied permission to access the database. If I allow third-party cookies it works.

    I think itch.io needs third-party cookies to use LocalStorage

  • Could it be that the values in your array are strings?

    Try int(Array.At(0))-1 if this work you have an array of strings

    Then it's really Chrome or Chrome based browsers and it can't be some weird setting because the problem appeared on all browsers. Have you tried one of your projects on another computer with chrome?

    My last idea to find the culprit would be Taskmanager of Chrome and Windows.

    Try at first the Taskmanager from Chrome, press shift+esc click on the cpu tab (arrow facing down) and wait for a freeze and look if a process comes up. If that doesn't show something special try the Windows Taskmanager (Processes Tab and CPU Tab). It could be a window service that causes trouble.

    But you could see if it's a chrome only problem. If it affect both FireFox and Chrome but with disabled Hardware Acceleration it works fine, it could be a driver problem.

    Very strange. Do you have this problem only with chrome based browsers? Does it work on FireFox correctly?

    Have you tried to disable hardware acceleration in Chrome? Sometimes that should help with strange problems.