Skip to content

cmoyates/platformer-ai-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Platformer AI Test

This is a test project I've put together to let others try interacting with an AI for a game I'm working on.

The behavior is supposed to resemble that of the lizards from Rain World. However, I have never played Rain World, so I'm just kind of guessing. In the game this AI will control a creature that hunts down the player.

Controls

  • Arrow keys to move target
  • Space to enable / disable target
  • G to show gizmos / debug info

TODO

  • Implement platformer pathfinding

    • Contruct node graph

      • Place nodes in all valid positions
      • Connect the nodes
      • Remove duplicate nodes
      • Fix the order
      • Jumping connections
    • A*

  • Implement AI path following

  • Set up a way to set goal points

    • Starts at (0,0), move with arrow keys
    • Toggle goal enabled with space
  • Add button to reset the AI (R)

  • Add procedural animation

    • Multiple body segments
    • IK