Post news 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
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.