David Flook's Forum Posts

  • Give one of the objects "Pin Behavior" and Pin it to the second object using "Rope style". The distance these 2 objects are apart when you pin them will set the rope length.

  • For sprites, just add the Behavior "Destroy outside layout".

  • Use Touch.XAt(Index) and Touch.YAt(Index) to select specific touch inputs for Multi-Touch.

  • The particles have their own "Destroy mode". You can find it at the bottom of the particle system properties.

  • I see. Is there any way to have an invisible timer sprite that runs a simple 1-frame animation so as to trigger those events?

  • Keep in mind that a particle system only counts as outside the layout if all the particles are outside not just the particle system origin.

  • When the Parameters window is open (after selecting an action like Subtract From), you'll notice a second window which is dim when not in focus.

    This window displays all the objects which you can extract data from.

    Simply double click on any object in the window to view it's variables. Then you can double click a variable to add it to the Parameter window.

    I should also add that you don't need to use this reference window. You can always type the object.variable directly into the Parameters window.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you know you can change the Frame Speed for each individual frame in an animation?

  • You can create a text object and on every tick you can assign object.Count to the text to see if you're properly destroying objects.

  • You could try swapping out the regular character object with a physics version of that character.

    When the character gets hit, you lock the controls, make invisible, and create the physics character in it's place.

    When the physics character "is sleeping" destroy it and with the regular character; unlock the controls, make visible, and move it's position to match.

    Hard to know how ridiculous that would look, haha, but maybe it's worth a try :)

  • You could try Array.Contains value and invert the event.

    So it could read as "if the Array does not contain 0"

    Could something like that work?

  • The Object Count is the total number of instances (or copies) of a given object. So, if there are 2 bullets on the screen Bullet.Count would equal 2. Don't forget about any objects not destroyed outside the visible area.

  • I had trouble with this too at first so I'll post a reply for others.

    The trick here is to right click in the Event Margin and select it from the "Add" sub-menu.

  • Hi, I just starting using this amazing software.

    Using Chrome I stumbled on the issue of playing a Music track on Layout Start and having all subsequent Sounds fail to play.

    I solved the issue by applying the "Preload" action in Audio to all my Sounds in Layout Start.

    Thanks,

    Dave