Skip to content

Base Enemy Entities

Ella West edited this page Aug 30, 2022 · 6 revisions

Page Navigation

Jump to section

Enemy Design Guidelines

Design guidelines were implemented in an effort to create unified enemy characters across the two teams:

  • Canvas size of 64x64px
  • Dark colour outline
  • No blending (Only Pixel Shading)
  • Sea Monster colour palette
  • 3D Flat Front Facing (3/4 view)

Technical

Config

As the intention of enemies is to provide a source of income to the player, a new general config class had to be created called EnemyConfig. This class is meant to extend the BaseEntityConfig class by adding a gold variable that tracks how much gold is dropped by the enemy when it is killed. By default this is set to 0, but can be modified when implementing a new enemy within the NPCs.json file.

public class EnemyConfig extends BaseEntityConfig {
    public int gold = 0;
}

Table of Contents

Home

How to Play

Introduction

Game Features

Main Character

Enemies
The Final Boss

Landscape Objects

Shop
Inventory
Achievements
Camera

Crystal

Infrastructure

Audio

User Interfaces Across All Pages
Juicy UI
User Interfaces Buildings
Guidebook
[Resource Management](Resource-Management)
Map
Day and Night Cycle
Unified Grid System (UGS)
Polishing

Game Engine

Getting Started

Entities and Components

Service Locator

Loading Resources

Logging

Unit Testing

Debug Terminal

Input Handling

UI

Animations

Audio

AI

Physics

Game Screens and Areas

Terrain

Concurrency & Threading

Settings

Troubleshooting

MacOS Setup Guide

Clone this wiki locally