calminthenight's Recent Forum Activity

  • It should be enough to just call a second function in the “on space” event. Then when the first function finishes the second will be run.

    While this works, if the function took more than one tick to complete would it break as the next function would be called prior to the completion of the first, which it is dependent on?

    An Asynchronous function with a "wait for previous events to finish action" would likely also be unreliable as the function is recursive, so technically it finishes many times before actually being finished.

  • I'm using a recursive function to sort an array in a specific way but I can't work out a good way to flag when the function is complete.

    The recursive function itself works fine, I just can't action something when it ends.

    What I want is for the the function to be initially called by another event. Then when the function has fully completed sorting the array I want it to call a different function.

    I've tried a few different methods but can't nail it. Help would be greatly appreciated.

    1drv.ms/u/s!AkmrWgxeuxlKhJwBQwo7XM7mMAoluQ

  • I don't think you can change the duration of an already running/paused timer. If you stopped it instead, you could restart it with a new duration.

  • Thanks. Hopefully Ashley responds to the request for clarification and the issue can be started on.

    Time to roll back Chrome in the meantime.

  • Anyone else seeing this issue?

    Since Chrome 104.0.5112.79/80/81 (Windows) Construct 3 Debugger is lagging heavily at load and sometimes locking up entirely.

  • I'm not familiar with the example but if you are only using 2D arrays you could use 3D arrays instead and use a different depth for each chest.

  • Alextro is correct. Add a pick all event to reset the pick list.

  • If the instance of the tool is always the most recent instance of that object then you can use this to destroy it after the timeline finishes.

    Just replace the Characters object with your object.

  • Thanks ROJO. Yes, easy to work around but I just found it odd that it is not exposed. Will have a poke around with the logger and see if I can find it in JS.

  • Can someone confirm that you cannot access the physics object's world gravity parameter via expressions? For example, you can set the gravity using the appropriate event, but cannot get the gravity value using object.physics.WorldGravity or similar.

    If not can you access it via JS?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you are using NWJS there is an option called "Window Frame" that needs to be unchecked when exporting.

  • Use "For Each" as the first condition. This will run the other events for each object in the family that meets the conditions.

calminthenight's avatar

calminthenight

Member since 28 Jan, 2018

Twitter
calminthenight has 6 followers

Trophy Case

  • 6-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies