Jcoaster2008's Forum Posts

  • 3 posts
  • I am making a top down shooter game, where you move the player around, and shoot enemies.

    Right now, my enemy AI checks that the distance to the Player is less than 500, and if it is, moves in the direction of the player. My main issue is that the enemy will simply slide through a wall. I have both the wall and the enemy solid in their Attributes, and they are on the same layer. Is there a way to keep the enemy from moving through walls?

  • Thank you! I knew it was going to be something really simple, but I just couldn't find it anywhere in the documentation or on here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm creating a game that has a "Life" Global Variable that I want persistent throughout all of the layouts.

    First of all, I want to display the value of "Life" in a text box, but I'm having trouble doing so. So far I have

    "Lives: " &[/code:m4haskfd]
    How would I add the value of "Life" to that? 
    
    And also, I want an event for when "Life" goes below 1, but I don't know how to do that either. Can anyone help with this?
  • 3 posts