Hendrixlt's Forum Posts

  • 9 posts
  • Okay I found the issues. Just had to tell it to stop playing the run every tick

    Thanks guys

  • I tried to "trigger once" and the animation didn't play at all.

  • I'm using the "platform" behavior and when I tell the event to play jump and fall animation, it only plays the first frame.

    I have tried both "while jumping" and "on jump" conditions, and still only plays the first frame.

    I'm using an instance variable to move the character left or right "every tick".

    What am I missing?

    Thank you.

  • I tried setting a global variable and, when below a certain number, a "warning alarm" goes off.

    But when the number goes back up, it won't shut off.

    I tried:

    health < 20

    alarmOn = false ..... Play "alarm" sound, alarmON = true

    health > 20

    alarmOn = true ......Stop "alarm" sound, alarmON = false

    and no go.

    Any help will be appreciated.

  • Well you just said your own logic:

    + System: Is between values (Obstacle.Bullet.Angle, 260, 270)

    - Set Mirorred

    + Else

    + System: Is between values (Obstacle.Bullet.Angle, 270, 280)

    - Set Not Mirorred

    I guess something like this?

    I got it. It was actually

    Obstacle: Is between angles 270 - (Obstacle.Bullet.AngleOfMotion - 270) and 270

    • Set Mirrored

    Thanks for the help.

  • So your angle range is centered on 270? So you just take the current random angle, subtract 270 and subtract that value from 270 to get the mirror angle.

    That will mirror your object around 270.

    So here is the action:

    https://www.dropbox.com/s/tvvxkpiueeqe0 ... 1.jpg?dl=0

    if the angle of motion is between 260 and 270, i want to mirror the sprite.

    I tried the math with all the Events where it checks angle. But not working how I need it.

  • I have an object that spawns from the bottom and move up at a random 260 and 280 angle (which means some go randomly slightly to the left or right as they go up).

    I want the object sprite to mirror if it's going slightly to the left. Trying to make that happen.

    Thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey guys,

    I'm making a side scrolling game where I can throw a projectile but I can aim using a crosshair that revolves around player (i.e.: Yoshi Story from Snes).

    How would I go about putting something like that together in Construct?

    Thank You

  • 9 posts