nacra's Recent Forum Activity

  • If you have occluded areas, like in that raycast demo, you might use the Line of Sight behavior which has a "Has LOS to object" condition. And then you could draw your rope between the points.

    LOS: https://www.construct.net/en/make-games/manuals/construct-3/behavior-reference/line-of-sight

  • On your original question, maybe you can use the index ID (IID) to compare sprites to find the newer. A lower IID is older.

    And then, try stepping through your code while changing instance variables.

  • The Persist behavior may be what you’re looking for: https://www.construct.net/en/make-games/manuals/construct-3/behavior-reference/persist

    Or you could define global variables to store values you want to preserve, and use them to restore object position and such.

  • You can use the Browser plugin, it has a platform expression: construct.net/en/make-games/manuals/construct-3/plugin-reference/browser

  • Assuming you haven't changed it too much, the Racetrack template has an array, aTimes, that stores lap times for each car. It sounds like you want to reset this. See the "resetCP" function for an example on setting all array elements to zero.

    Starting out, you'll want to spend times on simpler, smaller examples and make sure to use the debugger to step through the events to see what's happening.

  • Hi Ashley and all, is there some way to trigger the Construct IDE to reload project files, in my case, javascript files? It seems like they're cached when the IDE launches, and no edits done by external editors are picked up. I see the Animations Editor has a "Reload from Original Source" button, which is a similar idea.

    And my use case is, I'm using Chrome Dev Tools to edit javascript files in a Construct 3 project with the great Javascript plugin from Valera Popov. This provides good javascript editing, but I can't see how to get Construct to reload externally edited files, without restarting the IDE.

    I've tried using both the Windows Store and the NW.js builds of Construct, and both seem to cache external files upon startup. If anyone has a workaround or trick here to get Construct to load external edits in project files? Thanks!

  • So, watching those two ghost hunters in the red test area, I can see them properly sort sometimes, but not always. I wonder if it's related to the pinning and/or the body and hunter being separate sprites.

    What I did, that worked, was create a GhostHunter family, to contain the GhostHunter and GhostHunterBody, with a family instance variable for the z order. Sorting on that family instance variable seems to give a reliable visual.

  • Rhindon, you might need to show us your relevant events, in case we can spot something.

    I did a quick test and saw Z-sorting work. Every 0.1 seconds it sets a sort order instance variable and then has the system sort by it.

    Edit: You should check that you have the first image point in the right location on each sprite. I think that's where the Y value is measured from.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Rhindon, it sounds like you have the needed steps, although you'll want to run that sort only every 0.1 seconds, and not on every tick. But is it not working for you?

  • Raghu, my copy of Firefox is working here, on Windows with Developer Edition 63.0b3, if that helps. You might try a different browser, like Chrome. And if you're using Windows you can try the Windows Store version of Construct: https://www.construct.net/forum/construct-3/general-discussion-7/construct-3-for-windows-10-in-135851

  • Sparsha, to me that's a more advanced programming task, where I think you'd want your own server. I don't have a good no- or low-code suggestion for you, but maybe Firebase would be the easiest? I haven't used this, but RexRainbow's Firebase plugins have been converted for Construct 3 (C2 runtime I think).

    Firebase:

    https://firebase.google.com/

    Rex's Firebase add-on:

    https://github.com/rexrainbow/C3RexDoc/tree/master/repo

  • Since they’re free, you have the luxury of installing and trying each. People have different preferences and needs for artwork production and someone else can’t tell you what your favorite will be. Maybe make yourself create a short animation in each.

    One note is that I think we have to wait for Spriter 2 to get C3 runtime support in the add-on.

nacra's avatar

nacra

Member since 1 Nov, 2017

Twitter
nacra has 2 followers

Trophy Case

  • 7-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies