I have three organisms in this ecosystem, each with three different states. 

1. Sharks (respawn if none of them left/from reproduction; die naturally/poisoned)

1st & 2nd State: baby shark & young shark

  •  move freely underwater

3rd State: adult shark 

  • move faster than the previous state
  • hunt prey if it is within its hunt range
  • back to slow movement after hunting

4th State: hunting shark

  • move faster towards its prey and  hunt them (instant destroy)

5th State: reproducing shark

  • move at normal speed and give birth (respawn) to a baby shark and die after a certain period

6th State: poisoned by jellyfish

  • if entered jellyfish's poison zone, die immediately (instant destroy)

2. Small fish (respawn if none of them left/from reproduction; die naturally/poisoned/preyed)

1st State: baby fish

  • find the nearest coral and move between corals, cannot be preyed on by sharks

2nd State: young fish

  • move freely at a faster speed underwater, cannot be preyed on by sharks

3rd State: adult fish

  • move freely at a faster speed underwater, can be preyed on by sharks
  • if entered a shark's hunting range, escape at a faster speed

4th State: reproducing fish 

  • during reproduction, no movement lays eggs around its position

5th State: poisoned by jellyfish

  • if entered jellyfish's poison zone, die immediately (instant destroy)

3. Jellyfish (respawn if none of them left; die naturally/preyed)

1st State: normal state

  • move very slowly underwater, can be preyed on by sharks

2nd State: escaping state

  • if entered a shark's hunting range, escape at a faster speed

3rd State: poisoning state

  • start poisoning once in a while, cannot be prey on
  • no movement during the poisoning 
  • if others enter the poison zone, die immediately 
StatusReleased
PlatformsHTML5
AuthoreOvOa
Made withUnity

Leave a comment

Log in with itch.io to leave a comment.