S LEE's Recent Forum Activity

  • When pulse is overlapping marble it moves and does the coding correctly, but when pulse is overlapping marblelevel2 it plays the sound, and does not play sound when pulse is destroyed, but it does not move the marble or play the animation either

    Pulse is on layer 4, marble is on layer 3 and marblelevel2 is on layer 2, pulse is always visible, ignore the text clicks

    Tagged:

  • I have it set up so that When the player wins (gets to the goal), the new layer is loaded up and all of the objects that I want go to the layer, but when go to a new layer the objects still interact with other object (like wall/solid objects)

    How do make it so that the player does interact any objects on (lets say) layer 2, but not objects on layer 3?

    Tagged:

  • Ok, I have solved is thank you for your help, the image below is what I did

    but to put it in a way that can be used by anyone, lets just say that Object 1 moves Object 2 when overlapping, and Object 2 need to play animation when Object 1 is overlapping

    Note: not going to mention sounds, and I set object 1 as bullet and Object 2 as 8 direction (0 speed)

    Object 1 is overlapping Object 2 Object 2 Move x pixels at Object 1.angle (X can be

    whatever number)

    Object 2 Set angle towards (Object 1.X, Object 1.Y)

    (May need to reverse the animation)

    System Else Stop animation (Else Needs to be below

    Object 1 is overlapping

    Object 2)

    Object 1 is on collision with Object 2 Object 2 Start animation on current frame

    Object 2 set animation to "" (don't think this matters)

    Object 2 set animation speed to x

  • That does not exist, unless your talking about something else, I can not find the "OBJECT is not overlapping OBJECT" event, only the "OBJECT is overlapping OBJECT" event

  • So, the current events make the marble (object 2, animation is stopped at start of layout) move at the pulse's angle (object 1, change direction towards marble) and the marble will face the opposite direction of the pulse

    When the marble is touched by the pulse, the animation is played, this is what I want, but it continue to play no matter if the pulse is on the marble or not, I don't want this, I want the animation to stop when the pulse is not on top of the marble

    Please help, you can help by using object 1 and 2 (or Pulse and Marble) as a way to describe what I should do, the image below will describe what I have so far (minus animation is stopped at start of layout, and set pulse angle towards Marble X,Y)

    Thank you in advance

  • Ok, so I've made a few changes, and the events (the image below) works while the pulse is over the marble, but the animation doesn't stop when the pulse is not over the marble

  • I've tested the set animation and the animation is not playing at all, but even with set animation and start animation, it still only plays the animation when the Pulse is not over the Marble

  • It's still not working, show me what you mean with a image, or just tell me with what I did previously

    (Pulse is overlapping marble Marble move 3 pixels at angle Pulse.Angle

    Set animation speed....)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't understand, just show me what you mean, of course you can use your own objects, or write it out like I did with Object 1 (Pulse) and Object 2 (Marble) (or whatever you want)

  • The image below describe my issue, object 2 (the marble) does move when object 1 (the pulse) is on top of the object, and the angle change works, but the animation starts and only plays when The pulse is not on top of the marble

    If you can't see the image, then this is what I did:

    Pulse is overlapping marble marble move 3 pixels at pulse.angle

    Marble start animation from current frame

    Marble set animation speed 20

    Marble set angle toward (Pulse.X, Pulse.Y)

  • I did that but the animation does not run while object 1 is on top of object 2/when object 2 is being moved by object 1, but the animation for object 2 does run if object 1 is not overlapping object 2, and the animation loop cycle continues, even though upon start-up the animation does not run

  • So lets say that an object (object 1) is moved into another object (object 2), how do I make it so that the animation of object 2 runs whilst object 1 is pushing, or at least on top of it, and stops if Object 1 is not on top of object 2

    Thank in advance

    Tagged:

S LEE's avatar

S LEE

Member since 18 Dec, 2020

None one is following S LEE yet!

Trophy Case

  • 4-Year Club
  • Email Verified

Progress

5/44
How to earn trophies