dop2000's Forum Posts

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

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

  • forum.gamemaker.io/index.php

    Nothing's wrong about comparing different game engines of course, but that explains the question about GML :)

  • Construct is a very capable 2D engine, you can take a look at this game we recently released, it's 100% made in C3.

    I haven't used Unity, but I heard that certain routine operations (like adding new sprites, animations etc.) are much easier and faster to do in C3, than in Unity.

    C3 is an almost perfect engine for casual mobile games. Unfortunately, when it comes to monetization (ads, IAPs), its official plugins are barely adequate. You will probably need to purchase 3rd party addons, for example this collection.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can draw an immovable object:

    howtoconstructdemos.com/physics-game-draw-lines-to-catch-falling-objects-capx

    But if you want the line to be movable and rigid, it's a pretty difficult task. I've seen a few examples, but don't have any links. And they all had some issues and limitations.

    Using Pin with Physics is definitely not a good idea.

  • You can open project.c3proj file in Notepad and check which version it was saved in, for example:

    "savedWithRelease": 22500

    Then try to open the project in that C3 release, in the example above it's r225.

    If it opens, find the Pin behavior and remove it.