Aphid Defense

Eric Babajanian, Elijah Pinson - CPE 476 - Spring 2020 - Zoë Wood

Project Description

Ever wondered what a day in the life of a ladybug is like? Well, now you can find out! In Aphid Defense, face off against an endless hoard of aphids as they try to consume your beloved sunflower. You must defend all 3 leaves of the flower and devour any aphids that climb on them. If you let two leaves wither away, game over. It's time to fight fire with fire and eat them first before it's too late! Good luck!

Controls: keyboard and mouse

Movement with WASD
Camera controls with mouse

There are a total of 3 possible powerups that can spawn on the stem:

  1. Boost: temporarily increases player speed
  2. Size: temporily increases player size
  3. Healh: adds 10 health points to all leaves

Screenshots of the gameplay (I know, fascinating)
video

References

Technologies

  • 3D environment with multiple movement types (and the ability to switch between them).
  • Entity-component system that allows for standardization of objects and functions, while avoiding a class hierarchy blob.
  • Background music and sound effects on collisions
  • Free moving, 3rd-person perspective camera
  • Hierarchical animation
  • Bounding sphere collisions
    • change aphid movement direction when hitting walls
    • change player movement when entering / exiting a leaf
    • consume an aphid (for score) or powerup (for benefits)
  • Dynamic shadow mapping
  • View frustum culling
  • Specialized rendering:
    • non-photo realistic toon shading
    • normal mapping on powerups
  • HUD displays powerup duration and leaves' health percentages
  • Particle effects play on powerup and aphid collisions with the player
  • Skybox