juanbaltazar's Recent Forum Activity

  • Sorry for the late reply. I was problem solving this with ChatGPT for ages. It did not work.

    The problem, I think, is that there are multiple logs and bridges constantly overlapping eachother as well as enemies using the same platforms. It really complicates things.

  • Yes, it is a ghost platform.

  • The player is riding on top of a falling log. The log passes through the bridge. That's good. The player also passes through the bridge. And that is what I am trying to fix.

    I want the player to land on top of the bridge while the log passes through.

    Not sure if this is relevant, but the bridge is a ghost platform, meaning the player can jump through it and fall through it when I press "down".

  • You do not have permission to view this post

  • That did it. You're an absolute beast. I don't know how I forgot about OR and ELSE conditions. Thanks.

  • The order doesn't worry me. The problem I'm trying to fix is the enemies by themselves not triggering the bees' attack mode.

    Player -> overlaps red square

    Bees switch to attack mode

    Good

    Player + enemy -> overlap red square

    Bees switch to attack mode

    Good

    Enemy -> overlaps red square

    Bees stay in Defense Mode

    This is the problem

    I have it set up to where every x amount of seconds, enemies spawn. I don't think that's relevant though.

    I feel like I'm overlooking a really obvious solution.

  • The idea I have is this:

    when an enemy overlaps a large transparent square, the bees attack it (Attack boolean variable). If nothing is overlapping it, the bees just aimlessly fly around within the red square (Defend boolean variable).

    Everything is working exactly how I want when it comes to the player, but I can't get the bees to attack other enemies.

    Families seems to be the best route to take, but when I family up the enemies with the player, the bees ignore the attack boolean variable. I'm also new to using families.

    I've tried duplicating and replacing the player object with the enemies, but that creates a lot complications.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
juanbaltazar's avatar

juanbaltazar

Member since 26 Jan, 2015

None one is following juanbaltazar yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies