-
Notifications
You must be signed in to change notification settings - Fork 7
Alien Fauna ‐ Passive
Animals were added to the game to flesh out the farming theme and add an extra layer of complexity to achieving the win condition e.g., taming, killing animals to get resources to further oxygenate the planet. Animals are NPCs which do not attack the player and exhibit different behaviours. Animals can produce resources and do work for the player while they're alive and will drop resources on death.
From an implementation perspective, most of the animals have very similar code, so if you want to see how to implement and spawn your own animals into the game look at the NPCFactory, AnimalAnimationController and ForestGameArea classes and the /source/core/assets/images/animals directory. Just follow what has been done for existing animals and you should be good.
The Galactic Grazer is the most common animal species found on the planet.
A martian-green colour palette was chosen to emphasise the alien planet theme.
Spawning
- Spawns every day between 12pm and 4pm
Characteristics
- Wanders
- Is tameable. Once tamed, will drop twice as much fertiliser and will drop milk once fed.
- Drops beef on death
- Drops fertiliser once tamed
Favourite Food: Ear of Cosmic Cob
The Astrocluck is the other common animal species found on the planet. Chickens are skittish and will run from you.
Bright colours were chosen for the chicken as to make it easy to see when it is running away from the player. It also matches the primary colour palette of the game to ensure aesthetic cohesion.
Spawning
- Spawns every 2 days between 8am and 12pm
Characteristics
- Wanders
- Is tameable. Once tamed, will lay twice as many eggs and will drop golden eggs once fed.
- Drops chicken on death
- Runs away from player
- Lays eggs when tamed
Favourite Food: Hammer Flower
The Astrolotl is the player's primary companion and is the easiest animal to tame. They are rare, so make sure to keep them safe.
The purple sprite variant was chosen as to match the player character and make it evident to the player that the astrolotl is a friend.
Spawning
- Spawns once every 10 days at 12am
Characteristics
- Wanders
- Follows the player
- Is tameable
- Feeding the Astrolotl will cause it to release oxygen into the atmosphere
Favourite Food: Nightshade Berry