CAGD 495 - Sprint 3

Completed Cards

  • As a player, I would like tiles that have been targeted by a fire spell to deal major damage to enemies that walk through it so they have a lasting effect. (3)
  • As a level designer, I would like my Advanced Spawner to be merged with my regular spawner so that I can have more control in my level design. (1)
  • As a player, I would like a tower with an attack that can shoot in rapid-fire bursts so that I can have more variety in attacks. (1)
  • As a player, I would like a tower with an attack that can hit multiple enemies at once so that I can have more variety in attacks. (1)

Cards in Progress

  • As a player, I would like a tower that attacks directionally in a continuous fashion with no target so that I can have more variety in attacks. (3)

Cards incomplete

  • As a player, I would like a tower with an attack that pierces through multiple enemies so that I can have more variety in attacks. (1)
  • As a player, I would like to have tile effects so that I can wreak more havoc on my enemies. (3)

Issues/Problems/Solutions Encountered

We were considering different ways of implementing the differing tower attacks. I decided to simply modify the tower attack script with an enum. This enum is called AttackType, and depending on which attack type it’s assigned to it will attack differently. This system isn’t the prettiest solution but it works well for this project.

Arjun asked me to modify his new spawner, called AdvancedSpawner. This is pretty different from the Spawner I wrote initially, and it was a little tricky to integrate it into my scene. My main problem was understanding his code. I was, however, able to get it working within about two days. Eventually Sky mentioned there were errors when there is only one path (enemies can spawn in multiple paths). This was a minor error I was able to fix quickly as well.

Spells are a new element to the game. Sky did a lot of the logic with the card aspect of spells, and I made the logic for the actual effect. We only have a fire spell right now, but it works the way Arjun wanted.

No comments:

Post a Comment