dop2000's Forum Posts

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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
    
  • You might need to add a header to Base64 data:

    data:image/png;base64,...........

  • This data - ["Apple", "Orange", "Mango", "Banana"] may be loaded into JSON object, but not into an array. Arrays in C3 require a specific structure of JSON string. It looks like this:

    {"c2array":true,"size":[5,4,1],"data":[[[.....]

    You can use Array.AsJSON expression to export array data to JSON string, then put this string into the variable. Then you will be able to load it into the array using Array Load From JSON action.

  • You have played the game a lot while developing and became an expert. You also know how the game works internally. What seems obvious and easy for you may actually be quite difficult for other players.

    or the game is simply not interesting?

    If you need to know if people are enjoying your game, and what needs to be improved - add analytics to your game. It will show you stats like playtime, session time, user retention etc.

  • Yes, some browsers have a maximum resolution limit for textures, I believe it's 4096x4096