Skip to content

[v0.0.7] Implement Deer NPC Entities #19

@jacuzzicoding

Description

@jacuzzicoding

Description

Implement deer as the first NPC entities in the game world. These should have basic AI behavior, interact with the environment, and serve as a foundation for future ecosystem development.

Requirements

  • Create deer entity with appropriate components
  • Implement basic AI for movement, grazing, and fleeing
  • Add interaction with environmental objects (grass, trees)
  • Create placeholder art assets for deer (can be simple shapes initially)
  • Implement day/night behavior changes
  • Add sound effects for deer

Technical Details

  • New components needed:
    • AIComponent for behavior control
    • AnimalComponent for animal-specific properties
    • InteractionComponent for environmental interaction
  • Systems changes:
    • Update EntityManager to handle AI entities
    • Create AISystem for processing AI behaviors
    • Extend collision system for AI entity interactions

Acceptance Criteria

  • Deer spawn in appropriate locations in the world
  • Deer move naturally with basic pathfinding
  • Deer flee when player approaches too closely
  • Deer graze on grass during the day
  • Deer rest during night time
  • Deer make appropriate sounds
  • Deer interact with environmental objects
  • Performance remains stable with multiple deer in the world

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