RhettBlood's Recent Forum Activity

  • Hello, I am making a mining game where you destroy blocks (dirt, iron, etc) to get the minerals. Every block has an instance variable that acts like health for the blocks, and slows down the destruction. When time runs out the player goes to a new layout, the shop layout. When returning to the main layout, every block is back in place. I'm wondering how to keep the blocks destroyed every time you return. Thank you.

  • I think what you need to do is make an instance variable, and set it to 0. Make an event that if the variable is at 0 then every x seconds it randomly chooses 1-4. Use the numbers to simulate the directions, then after another x seconds it changes back to 0. Hope this helps.

  • Sorry it took me a bit to get this back to you (hecktick holiday), but here it is, I think. I solved the problem with pathfinder but if you'd still like to see if you can make any improvements go ahead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would place it, but I'm not quite sure how to.

  • I think I figured it out, I had an instant variable set to change, between 1-4, every 3 seconds. All 4 changed the directions, but if the enemy saw the player it would change to 5, which would give it a pathfinder to the player. I had to add an every second, to the pathfinder, so they'd stay on the player.

  • Hello, I am trying to make a top down adventure shooter and I am having problems with my enemy AI. What I want to happen is for the enemies to walk around in a random pattern (doing fine with that, so far) until they see the player, at which point the charge the player and attacks. I've set it up with instance variables (on the AI themselves), line of sight (which signals when the player is near), path finder(to charge the player), and 8 direction (just for the random walking). can somebody please tell me what I'm doing wrong?

RhettBlood's avatar

RhettBlood

Member since 20 Sep, 2015

None one is following RhettBlood yet!

Trophy Case

  • 9-Year Club

Progress

9/44
How to earn trophies