So, the gameplay part looks okay and unlike me, you also have a basic AI for the enemies, which is very good, but the rotation of them is missing. The character controller is not so well done: Sticking to the walls feels more like a bug than a wall jump, but if it is one you can avoid id by calculating the normal of the collision: "
private void OnCollisionEnter2D(Collision2D collision)
{
foreach (ContactPoint2D contact in collision.contacts)
{
if (Vector3.Dot(contact.normal, Vector3.up) > 0.5f)
{
if (collision.collider.CompareTag(GroundTag))
{
isGrounded = true;
}
}
else if (Vector3.Dot(contact.normal, Vector3.down) > 0.5f)
{
}
}
}
"
. Unfortunately, the UI only works to a limited extent and also looks very prototypical. I don't know how much sense it makes, but if you convert the whole thing into a Metroid Vania game, I see potential. As a recommendation, if you're considering doing so, here's a tutorial for a camera like in Hollow Knight: "
".