nacra's Forum Posts

  • I'm guessing you haven't drawn any tiles to that tilemap object. ?? Because you'll see them as you draw them in the editor. If you look at the Tilemaps sample project, in the Beginner Examples, you'll see that the Tilemap object is drawn to the layout, like you've done, and it also has a tileset, displayed in the editor by the Tilemap Bar. Click the pencil icon in Tilemap Bar, select a tile from the set and draw it on the layout, in the Tilemap object. (Maybe not the clearest of naming conventions there, but still pretty simple. :-))

    And you ask about resizing tilesets in the editor, and I don't think that can be done there. Better to do it in a bitmap tool like Gimp that can do a good job of scaling.

  • And just put your swipe sprite(s) on a layer with your other GUI elements, setting the parallax to zero. That'll keep it on screen and in the same position while panning and zooming your other layers.

  • Ubru, I'd first try rotating, and moving, every 0.1 seconds instead of every tick.

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

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.