How do I make AI use ladders?

0 favourites
  • 2 posts
From the Asset Store
___ Huge collection of 2d fully extensible ladders ____
  • Hello first time Iam using forums for help. So I didn't find anything remotly similar to make ai use ladders. So here how game works: AI has states, state 0 when it just roams thats where ladders should be used for AI to access other flors like climbing up or down. State 1 is where it chases player this will be writen using what is written in state 0, State 2 is when it tries run away will be writen based on state 0. So Thanks in advance. CAPX file for checking maybe you'll find more bugs

    P.S. already tried custom movement and 8 direction movement.https://drive.google.com/file/d/1UdusdAIxQkS_sBMU3JkFS9o2aWWzL98F/view?usp=sharing

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well the way I have my ladder system set up is in a few parts ladder bottom, a ladder line and ladder top... all set invisible. Since it's AI this will be tough... you will have to find a way to the game know when the AI is going up or down because you will have to simulate 8 direction up or down. I put two links that will help you out with ladder stuff All you will need to do is figure out how to make it happen on it's own. Maybe have like a box area around the ladder so when the AI collides with it they start to climb up if the player is above them which would be simulate a direction up. You will have to find a way to know if player is above or below player. Hopefully this helps

    youtube.com/watch

    youtube.com/watch

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)