Skip to content

2D ecosystem simulation in Unity. Simulates predators and prey

Notifications You must be signed in to change notification settings

Callum-A/Unity-Ecosystem-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EcoBannerx4

Unity Ecosystem Simulation

Description

2D ecosystem simulation developed for a university group assignment.

Features

  • Main menu allowing customisation of the simulation.

  • Procedurally generated terrain.

  • Predator and Prey eat, drink, wander and breed.

  • Predator and Prey handle their decision making via a statemachine.

  • Pathfinding is handled by the A* algorithm.

  • Random chance of events each day.

    • Famine
    • Disease
    • Migration
    • Sprout (food growing)
    • Flood
    • Drough
  • Food grows and spreads across the map if left untouch.

  • Simulation outputs a CSV for the graphing program.

File Structure

Our scripts are located under Assets/Scripts/. Our sprites and prefabs are located under Assets/Resources/. The Unity scenes are under Assets/Scenes/. The debug editor windows are under Assets/Editors/,

Demonstration

Ecology Simulation: Predators and Prey - Demonstration

Authors

Co-developed by Callum Anderson, Dylan Foss and Orran Syms

About

2D ecosystem simulation in Unity. Simulates predators and prey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published