/2d-tilebased-engine

A 2D tile-based game engine using axis-aligned bounding boxes.

Primary LanguageJava

2D Tile-Based Engine

A 2D tile-based game engine using axis-aligned bounding boxes.

Used by Abacus.

Screenshot

Features

🎈 Ultra-lightweight

Handles state management, physics, entities and camera tracking out-of-the-box, with no external dependencies.

🗻 Slope support

Supports 45 degree floor and ceiling slopes, and new tile types can easily be added.

🔌 Extensible

Entities can easily be extended with additional properties and behaviour using a flexible component-based system.

📚 Library-agnostic

Window creation, rendering and input handling are abstracted; the engine is not tied to any existing libraries.

Getting Started

A demo project using the Java Swing library is included, but the basic steps are detailed here.