dop2000's Forum Posts

  • I am using the latest Chrome version 94.0.4606.54, and I deactivated all extensions, it didn't help.

    I also tried several different Construct releases - from r234 to r263, they all have this problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think you need to resize the DrawingCanvas object to 1080x1920, either multiplied or divided by DrawingCanvas.pixelScale

    Resize the sprite to the same size and paste it on the canvas. Then save the canvas image:

    DrawingCanvas Save Image
    System Wait for previous action to complete
    Browser invoke download of DrawingCanvas.SavedImageURL
    
  • Have you tried using the keyboard object and "intercepting" the keyboard combination ALT+F4 ? (On Alt is down And F4 is down; trigger once while true)

    I can try this, but what's next? I will not be able to prevent the window from closing.

    oosyrag I'll try it, thanks!

  • oosyrag No, must be a different issue. And that flag they mention is no longer available.

    This only happens in event dialogs, I haven't noticed any other problems with focus in Chrome.

  • I will need it to work on Windows and possibly MacOS.

    Someone just answered me in this old post, but I wonder if there is an easier and less hacky solution.

  • This is awesome, thank you!

  • I need to prevent closing my game when users press Alt-F4. Instead, I want to and exit the game gracefully by showing a dialog like "Do you want to quit the game? Any unsaved progress will be lost. Yes/No"

    Is there any way to do this with NWJS export?

    Tagged:

  • Something happened to my Construct and now when I'm editing a condition/action, focus is not set to the first field.

    See this gif - the "Value" field briefly receives focus and then loses it..

    I spend many hours every day coding in C3, and this seemingly small issue is causing me a lot of frustration. Does this happen to anyone else?

    The autofocus works correctly in Firefox. So if this a Chrome issue - how can I fix it? (I tried disabling all extensions and clearing cache, it didn't help)

  • adventurist Did you manage to find a solution?

  • You need to post a suggestion and hope it gets enough votes..

    construct3-21h2.ideas.aha.io

  • Try to decode the base64 string here:

    codebeautify.org/base64-to-image-converter

    If it works, then the problem is somewhere else. Like I said, maybe the script you are using to save base64 to png requires some additional headers.

  • I understand you are talking about c3p files, and I agree sometimes I need to see the file name, usually when I have two versions of the same project open.

    However, in C3 you can also save projects as a folder or to a cloud service. Displaying a file name in these cases will be useless.

  • piadinaro It's a really fun game with great art! But I don't understand why my rockets only fly a very short distance above the ground before blowing up. Is it supposed to be like that?

  • Event: Keyboard: arrow-down is down --> PlayerAnimation: Sitting

    Sub-Event Keyboard: on W pressed --> PlayerAnimation: UpperCut

    I think what happens is that the first event is running on every tick, and "Sitting" animation immediately replaces "UpperCut" animation.

    Try these three events:

    arrow-down is down
    PlayerAnimation "UpperCut" is NOT playing
     --> PlayerAnimation: Sitting
    
    
    on W pressed 
    arrow-down is down
     --> PlayerAnimation: UpperCut 
    
    
    Player on UnpperCut animation finished
     --> PlayerAnimation: change to something else