dop2000's Recent Forum Activity

  • Use the Date object. It has lots of conditions allowing to check the current date, month, time etc.

    editor.construct.net

  • Eren Thanks! Can this code create a subfolder in /Library/Application Support/ ? This is the part that doesn't work for me. I'm afraid it won't be any different with JS.

    After I create the subfolder manually (Mac asks me to enter my password), the game can write files to that subfolder.

  • You need to use "Sprite compare instance variable" condition. Something like this:

    Mouse On Clicked Sprite 
    
    .. Sprite compare variable A=hold : Sprite set A to hold
    
    .. Sprite compare variable B=hold : Sprite set B to hold
    
    .. Sprite compare variable C=hold : Sprite set C to hold
    
  • You have not tried to go the way of mobile publishing and already when packaging the archive to select MAC devices

    I'm not sure what you mean. I've done mobile publishing for Apple App Store, but that's a completely different process.

    Yes, you can upload an unsigned game to Steam and it works on MacOS, but we hope that signing it will help to fix this permission issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    I'd recommend saving data somewhere where permission is not required, such as the app data folder on Windows (not sure what the equivalent is on macOS though

    So I tried NWjs.ProjectFilesFolder and NWjs.AppFolder expressions. Both return some crazy unusable locations which we won't be able to configure in Steam Cloud.

    The MacOS equivalent of Windows appdata folder is:

    /Library/Application Support

    Unfortunately, NWjs app still can't create sub-folders at that location. It doesn't prompt for a permission, but I can see "permission denied" error in console.

    Is there any working solution?

  • Has anyone done this?

    The signing process is described here:

    github.com/nwjs/nw.js/wiki/Mac-App-Store-%28MAS%29-Submission-Guideline

    github.com/nwjs/nw.js/wiki/MAS%3A-Signing-the-app

    But the links are pretty old, and the process requires a lot of manual work. I wonder if there a better/easier way to do this?

  • alastair You need to create the folder first. Check if NWjs.UserFolder & "YourGameName" path exists. If not - create the folder. After that you should be able to write files to it.

  • We are using NWjs.UserFolder & "Documents" in our game, but there is a bug where the app loses permission after an update:

    construct.net/en/forum/construct-3/general-discussion-7/steam-game-macos-folder-179106

  • It's just causing the Text to keep redrawing. I fixed it for the next release so it won't use any extra GPU.

    Just want to clarify - this only affects the layout editor, right? It doesn't happen in runtime?

  • NWjs.UserFolder should already contain "/" at the end. We use this path on Linux:

    NWjs.UserFolder & "YourGameName"

    NWjs.UserFolder & "YourGameName" & "/save01.dat"

  • Try exporting with DevTools enabled, run the game, press F12 and check for error messages in console log.

  • It's probably those ±15 pixels.

    I suggest you use MoveTo behavior for the drone instead of lerp. On every tick move to the position behind/above the character. Set small values for acceleration and deceleration for a nice smooth flight.

    And by the way, when using lerp you need to use delta-time. Instead of 0.005 in the last parameter, it should be 0.3*dt. Otherwise the game will run differently on different frame rates.

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 18 Jan, 2025

Twitter
dop2000 has 256 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies