Skip to content

Code Improvements #1

Description

@brholtkamp
  • Abstract out collision events for enemies into CollideHorizontally(point) and CollideVertically(point) to make the code DRY. Currently Goombas and Koopas end up doing the same logic for determine collision types
  • Make the camera no longer allow the player to go backwards. This is expected behaviour based off the original game.
  • Convert any existing foreach checks into Linq style checks for collision
  • Look into the possibility of extracting collision logic into ActorController
  • Move currentInvulnerabilityDuration into FixedUpdate instead of Update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions