Timeless Ascension

Solo developer · 2025
Browser Game JavaScript Game Systems

Timeless Ascension is a small real-time browser game built to practice game engine fundamentals. The focus is a clear game loop, modular game objects, box collisions, and a simple enemy behavior cycle with readable combat feedback.

Overview

Goal

Build a small but structured real-time system in plain JavaScript, with clear separation between loop control, input handling, collision checks, and object behaviors.

What I Practiced

Delta time updates, modular object design, and a predictable update-collision-draw loop that can be extended without rewriting the core logic.

Architecture

Modular Object System

Entities inherit from a shared BaseGameObject that handles sprite animation and drawing, while Player, Enemy, Wall, and AttackTrigger implement behavior in isolated modules.

Attack Triggers

Combat uses small trigger objects positioned relative to the player. This keeps attack range logic separate from movement and makes tuning hit ranges straightforward.

Reflection

What I Would Improve Next

  • Refine enemy attack patterns so damage is applied only on a specific animation frame and only when the player is within close range.
  • Balance the time manipulation mechanic to make it a meaningful strategic tool.
  • Slow the enemy's baseline speed or introduce short pauses between chases to give the player time to recover.
  • Adjust the health drain so slowing time can be used for longer moments instead of only brief fractions of a second.

Curious about the decisions behind this project?

Let's connect