Post news Report RSS Monday 4.7 | Destroyable Objective

Creating a destroyable type of objective. Probably going to be used for a communication tower that can be destroyed making the enemy unable to call back up.

Posted by on

Monday 4.7 | Destroyable Objective

Platformer Prototype

Creating a destroyable type of objective. Probably going to be used for a communication tower that can be destroyed making the enemy unable to call back up. On my blog


Destroyable Objective

Nothing too fancy. Had to refactor some of the critical strike marker code to work on the objective too.

59DestroyableObjective


Day's Work

  • Objective
    • Refactoring
      • class Objective : MonoBehaviour
        • class InteractiveObjective : Objective
        • class DestroyablyObjective : Objective
      • Now has ObjectiveType (Not InteractionType)
      1. SimpleInteraction
      2. ItemGiveInteraction
      3. ItemAsConditionInteraction
      4. Destroyable
    • Destroyable Objective
      • IDamageable
      • Health
  • Critical strike marker
    • Refactoring
      • abstract class CriticalStrikeMarker : MonoBehaviour
        • class EnemyExecutionMarker : CriticalStrikeMarker
        • class ObjectiveCriticalStrikeMarker : CriticalStrikeMarker
    • bool lookAtPlayer
  • Minor bug fixes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: