how do i make a 2d platformer enemy?

so I’m trying to make a 2d skeleton enemy that will spawn in waves because I’m making an endless wave game and I just need to know how to do the whole process of setting up an ai enemy? can someone please help? id really appreciate that!!! also I’m using unity 5

This is part 10 of 14 of the 2D Roguelike tutorial in which we write the Enemy script which will control the enemies movement and AI.

In this session we will look at creating a finite state machine based AI system which can be configured in Unity’s inspector using ScriptableObjects for states, actions and transitions between those states.

Here are various “2d platformer ai” tutorials.
https://www.youtube.com/results?search_query=unity+2d+platformer+ai

3 Likes

I’m trying to make a 2D platform shooter, but I can’t find any enemy AI tutorials for what I need.