Danwood's Forum Posts

  • as title - there's the new browser action "set window position", but i can't find the right X/Y coordinates to move it at the user's desktop center.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also game load causes issues

  • Yep it does prevent worker mode. Now a way to have it and keep worker mode would be the best of both worlds!

  • > Doesn't this unfortunately prevent the game from running in Worker Mode? Which means that you'll lose performance/smoothness by doing it.

    Hmm yeah I think that's the case. You can also edit the exported index.html though like so, which should keep the worker mode enabled I think.

    But I there should be an in-engine way to handle this. A "prevent default" plugin or something, because it's one of those topics that comes up over and over again.

    BTW, this code should disable all keyboard inputs, iirc including alt+F4, F12 and such.

    > document.addEventListener('keydown', function(event) {
    	event.preventDefault();
    	});

    You sir saved my life!

    Will adding this to main.js script prevent worker mode?

  • In addition, there are more browser commands that are messing with my exported game: aside the F keys, when i hold alt and than move with WASD, my character gets stuck and there's a window alert sound.

  • Put this into the runOnStartup function in main.js

    > document.addEventListener('keydown', function(event) {
    		if (event.key === 'F5') {
    		event.preventDefault();
    		}
    	});

    I tried to open the main.js file with notepad++ and it's a wall of text, how can i show the code as in your screenshot?

  • Oooh interesting, I utilise F keys in my project, but haven't tested it yet. Does it get overridden if you have an "on f5 pressed" event present? I'm guessing not, but wanted to check.

    It doesn't unfortunatly

  • Is there a way to prevent WebView2 to prompt page refresh with F5, and other commands as well with F7 etc?

  • in construct 2, the pin behaviur did a small "delay" if the object pinned was not in the same folder of the object it was pinned to, is that the same in construct 3?

  • Darn, I just got another person saying that the game won't load due to Malwarebytes. Not sure if this is something that I can report like a bug or not. Does anyone know?

    This should be reported directly to Malwarebytes, but Ashley has the final world.

  • I manage to reproduce the issue and will hastly file a bug report on github.

  • Do you use hierarchies?

    Nope

  • I cannot manage to reproduce this bug in a minimal project, basically, items in the same layer, after saving/loading change their Z order. This did not happen in 352.

    Does this happen to someone lese as well? If so, please make a bug report or help me build an example to make one!

    UPDATE: I managed to reproduce the issue and will hastly file a bug report on github.

  • Thanks. He's a pretty cautious person so I doubt that he will even click on that link.

    Has anyone else been getting reports about Malwarebytes? I didn't see many mentions of it when I did a search. Maybe it's not a huge problem.

    I did, a few times, my game is on Steam

  • I'm very happy that this project is still being worked on - it's the most awaited construct-game for me ❤️

    Thank you!

    After months of work and bugfixing the port is complete, DinoSystem is now fully working in C3!

    A few more screens from the latest build: