Arena v2

Arena v2

START
1
ARENA v2
  • 7.1.1 create a new action with different mechanics than slash/fireball/boomerang
  • 7.1.2 create a new effect for that actions
  • 7.1.3 create a new enemy with at least one new behavior that uses that action/effect
1
Unity Pathfinding

NavMesh

Arena V2 uses Unity's NavMesh system for A* pathfinding. For some reason, they have never quite updated it to work well in 2d, but there is a free package someone made called NavMeshPlus that works well. The video below walks through how to install and set it up in your project. These are essentially the steps that I used to setup in Arena V2.

https://www.youtube.com/watch?v=FtQhX-lmYEA

2
In-Class Code Critique

Code Review Files

In-class we had an AI Coding assistant help us generate a new enemy using our well-defined and modular systems. Here is what it came up with.

As you review each file, consider:

  • Functionality: Does this code do what it is supposed to?
  • Code Organization: How well is the code structured and organized? Is it consistent with our systems?
  • Performance: Are there any potential performance concerns?
  • Maintainability: How easy would this code be to modify or extend?
  • Best Practices: Does the code follow Unity and C# best practices?