Skip to content

Alien Fauna ‐ Programming Guide

pchsa edited this page Oct 2, 2023 · 37 revisions

Introduction

This wiki page will be a handbook on how animals/entities can be created into the game.

Animal Components

Base Animal

When creating each animal, a base animal entity is used to add components that are shared across each animal. image

Example Entity - Chicken

After creating the base animal, further components are added to each animal depending on its type. The following diagram shows what components are added to the chicken entity. image

UML Diagrams

Running Away Task

Tamable Component

Animations

Alien Fauna ‐ Animations

Entity Indicator

Entity Indicator

Attack Patterns

To implement Hostile Attack Patterns Attack Patterns

Projectile

Projectiles

Adding interactions with animals and other non-tile entities

Please read https://github.com/UQcsse3200/2023-studio-1/wiki/Interaction-with-non%E2%80%90tile-entities

Clone this wiki locally