dop2000's Recent Forum Activity

  • I realized I'm using JSON object for almost everything now. It's not perfect, but so much easier to work with than C3 arrays.

    We have dozens of large array files in the project because it's easier to edit the data in table format, but in runtime I convert them all to JSONs.

  • This plugin does exactly that and more

    Looks like a great plugin with tons of useful features! I wish Scirra implemented at least some of these ideas.

  • See this post:

    construct.net/en/forum/construct-3/how-do-i-8/nwjs-export-custom-cursor-177833

    I couldn't find a solution.

  • i need to make event to NPC not to family because all instance variables already have 'NPC' Like AI behavior, and other statistics

    See this tutorial:

    construct.net/en/tutorials/upgrade-object-family-14

    You can do this without a family, but it's more difficult.

  • I have no idea what happens in this game, but it's really cool!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can add NPC sprite to a family and move LineOfSight behavior to the family level. Then you will be able to pick family instances independently from NPC instances.

    Bullet on collision with NPC
    .. FamilyNPC has LOS to LPC : FamilyNPC set animation to "shoked"
    
  • Can you make two backgrounds? One can be a sprite (trees), and another a TiledBackground object (pillars and clouds). You can stretch the TiledBackground vertically as much as needed.

    So if the player jumps higher than trees, they will still see the second background with clouds.

    You can also put these backgrounds on different layers with different parallax for a nice visual effect.

  • I am not sure I understand your question, but it seems like you are looking for parallax effect. Place your background on a separate layer and adjust its parallax setting. You can even use negative parallax values to move the background in the same direction with the scroll.

  • Physics engine is pretty complex and I'm guessing it's not possible to change the timescale of an individual object, because it's part of the "physics world".

    You can try faking it - for example limit its velocity with an event running on every tick.

  • You need to report it here:

    github.com/Scirra/Construct-bugs/issues

  • Thanks!

    As I understand, the MacOS equivalent of appdata folder is

    ~/Library/Application Support/<appname>

    One problem is that in NWJS we can't use "~" character in file path, I am not sure how to properly access ~/Library without it.

    Also, changing the save file location for existing players may be an issue, hopefully it's possible with Steam Cloud.

  • Our NWjs game writes save files to Documents folder. When you install it with Steam and run for the first time on Mac, it displays a dialogue like this:

    After that the game works fine, can read/write files from Documents folder.

    However, if we release a new version and Steam updates the game, it looks like this permission gets removed. The game doesn't prompt again for access, but it can't read any files from the Documents folder and throws this error in console log:

    Error: EPERM: operation not permitted, open '/Users/username/documents/GameName/Filename"

    There are two ways to fix it - either uninstall/reinstall the game and confirm the permission again, or give full disk access to the game. Neither of which is a good solution.

    Has anyone had this issue?

    If this is a bug, who should we report it to - Scirra, Google (NWjs), or Steam?

    Tagged:

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